2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 04:57:52 +00:00
This commit is contained in:
Francis Dupont 2025-03-04 14:55:18 +01:00 committed by Thomas Markwalder
parent ed878accd1
commit cb337885cb
3 changed files with 5 additions and 5 deletions

View File

@ -2382,7 +2382,7 @@ TEST_F(ClassifyTest, networkScopeClientClasses) {
}
}
// Verifies that mulitple occurences of an option with
// Verifies that multiple occurrences of an option with
// different client class tags works properly.
TEST_F(ClassifyTest, classTaggingList) {
IfaceMgrTestConfig test_config(true);
@ -2470,7 +2470,7 @@ TEST_F(ClassifyTest, classTaggingList) {
query->setIface("eth1");
query->setIndex(ETH1_INDEX);
// Add an PRL option requestion server-str option to the query.
// Add an PRL option requesting server-str option to the query.
OptionUint8ArrayPtr prl(new OptionUint8Array(Option::V4,
DHO_DHCP_PARAMETER_REQUEST_LIST));
prl->addValue(223);

View File

@ -3488,7 +3488,7 @@ TEST_F(ClassifyTest, classTaggingList) {
// Create a SOLICIT
Pkt6Ptr query = createSolicit();
// Add an ORO option requestion server-str option to the query.
// Add an ORO option requesting server-str option to the query.
OptionUint16ArrayPtr oro(new OptionUint16Array(Option::V6, D6O_ORO));
ASSERT_TRUE(oro);
oro->addValue(701);

View File

@ -694,9 +694,9 @@ public:
return (OptionDescriptor(false, false));
}
// We treat the emtpy client-classes case (if present) as a default.
// We treat the empty client-classes case (if present) as a default.
// If we encounter it before we reach the end of the list of options
// remember it but keep checking the list for an acutal match. We do
// remember it but keep checking the list for an actual match. We do
// it this way to avoid expecting the entries in any particular order.
auto & index = options->get<1>();
auto range = index.equal_range(option_code);