From cb337885cbcd9c06afd5c475f4024e1285b84e51 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Tue, 4 Mar 2025 14:55:18 +0100 Subject: [PATCH] [#3747] Spelling --- src/bin/dhcp4/tests/classify_unittest.cc | 4 ++-- src/bin/dhcp6/tests/classify_unittest.cc | 2 +- src/lib/dhcpsrv/cfg_option.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/dhcp4/tests/classify_unittest.cc b/src/bin/dhcp4/tests/classify_unittest.cc index 654e825217..109835038f 100644 --- a/src/bin/dhcp4/tests/classify_unittest.cc +++ b/src/bin/dhcp4/tests/classify_unittest.cc @@ -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); diff --git a/src/bin/dhcp6/tests/classify_unittest.cc b/src/bin/dhcp6/tests/classify_unittest.cc index fcc25ca8ac..e2df13d17d 100644 --- a/src/bin/dhcp6/tests/classify_unittest.cc +++ b/src/bin/dhcp6/tests/classify_unittest.cc @@ -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); diff --git a/src/lib/dhcpsrv/cfg_option.h b/src/lib/dhcpsrv/cfg_option.h index 6b94d3543d..7826f0f2c8 100644 --- a/src/lib/dhcpsrv/cfg_option.h +++ b/src/lib/dhcpsrv/cfg_option.h @@ -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);