]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3802] Spelling
authorFrancis Dupont <fdupont@isc.org>
Thu, 20 Mar 2025 11:59:00 +0000 (12:59 +0100)
committerFrancis Dupont <fdupont@isc.org>
Thu, 20 Mar 2025 12:01:01 +0000 (13:01 +0100)
src/bin/dhcp6/tests/addr_reg_unittest.cc

index 5fab4d918a5d1344f14f67173b0976e68f39311d..1eca341b3d9592eb4cff605ccc1821834ebb4f8e 100644 (file)
@@ -370,7 +370,7 @@ TEST_F(AddrRegTest, noSubnet) {
     // The query is silently rejected so no log to check.
 }
 
-// Test that an IA_NA option is fordidden.
+// Test that an IA_NA option is forbidden.
 TEST_F(AddrRegTest, unexpectedIA_NA) {
     IfaceMgrTestConfig test_config(true);
 
@@ -403,7 +403,7 @@ TEST_F(AddrRegTest, unexpectedIA_NA) {
     EXPECT_EQ(1, countFile(expected));
 }
 
-// Test that an IA_TA option is fordidden.
+// Test that an IA_TA option is forbidden.
 TEST_F(AddrRegTest, unexpectedIA_TA) {
     IfaceMgrTestConfig test_config(true);
 
@@ -437,7 +437,7 @@ TEST_F(AddrRegTest, unexpectedIA_TA) {
     EXPECT_EQ(1, countFile(expected));
 }
 
-// Test that an IA_PD option is fordidden.
+// Test that an IA_PD option is forbidden.
 TEST_F(AddrRegTest, unexpectedIA_PD) {
     IfaceMgrTestConfig test_config(true);
 
@@ -548,12 +548,12 @@ TEST_F(AddrRegTest, badIAADDR) {
     addr_reg_inf->setIndex(ETH0_INDEX);
     OptionPtr clientid = generateClientId();
     addr_reg_inf->addOption(clientid);
-    OptionCustomPtr iaddr(new OptionCustom(LibDHCP::D6O_IAADDR_DEF(),
-                                           Option::V6));
-    iaddr->writeAddress(IOAddress("2001:db8:1::1"), 0);
-    iaddr->writeInteger<uint32_t>(3000, 1);
-    iaddr->writeInteger<uint32_t>(4000, 2);
-    addr_reg_inf->addOption(iaddr);
+    OptionCustomPtr iaaddr(new OptionCustom(LibDHCP::D6O_IAADDR_DEF(),
+                                            Option::V6));
+    iaaddr->writeAddress(IOAddress("2001:db8:1::1"), 0);
+    iaaddr->writeInteger<uint32_t>(3000, 1);
+    iaaddr->writeInteger<uint32_t>(4000, 2);
+    addr_reg_inf->addOption(iaaddr);
 
     // Pass it to the server.
     AllocEngine::ClientContext6 ctx;