Skip to content

Commit 40a7fa0

Browse files
committed
[#3802] Spelling
1 parent 523796c commit 40a7fa0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/bin/dhcp6/tests/addr_reg_unittest.cc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ TEST_F(AddrRegTest, noSubnet) {
370370
// The query is silently rejected so no log to check.
371371
}
372372

373-
// Test that an IA_NA option is fordidden.
373+
// Test that an IA_NA option is forbidden.
374374
TEST_F(AddrRegTest, unexpectedIA_NA) {
375375
IfaceMgrTestConfig test_config(true);
376376

@@ -403,7 +403,7 @@ TEST_F(AddrRegTest, unexpectedIA_NA) {
403403
EXPECT_EQ(1, countFile(expected));
404404
}
405405

406-
// Test that an IA_TA option is fordidden.
406+
// Test that an IA_TA option is forbidden.
407407
TEST_F(AddrRegTest, unexpectedIA_TA) {
408408
IfaceMgrTestConfig test_config(true);
409409

@@ -437,7 +437,7 @@ TEST_F(AddrRegTest, unexpectedIA_TA) {
437437
EXPECT_EQ(1, countFile(expected));
438438
}
439439

440-
// Test that an IA_PD option is fordidden.
440+
// Test that an IA_PD option is forbidden.
441441
TEST_F(AddrRegTest, unexpectedIA_PD) {
442442
IfaceMgrTestConfig test_config(true);
443443

@@ -548,12 +548,12 @@ TEST_F(AddrRegTest, badIAADDR) {
548548
addr_reg_inf->setIndex(ETH0_INDEX);
549549
OptionPtr clientid = generateClientId();
550550
addr_reg_inf->addOption(clientid);
551-
OptionCustomPtr iaddr(new OptionCustom(LibDHCP::D6O_IAADDR_DEF(),
552-
Option::V6));
553-
iaddr->writeAddress(IOAddress("2001:db8:1::1"), 0);
554-
iaddr->writeInteger<uint32_t>(3000, 1);
555-
iaddr->writeInteger<uint32_t>(4000, 2);
556-
addr_reg_inf->addOption(iaddr);
551+
OptionCustomPtr iaaddr(new OptionCustom(LibDHCP::D6O_IAADDR_DEF(),
552+
Option::V6));
553+
iaaddr->writeAddress(IOAddress("2001:db8:1::1"), 0);
554+
iaaddr->writeInteger<uint32_t>(3000, 1);
555+
iaaddr->writeInteger<uint32_t>(4000, 2);
556+
addr_reg_inf->addOption(iaaddr);
557557

558558
// Pass it to the server.
559559
AllocEngine::ClientContext6 ctx;

0 commit comments

Comments
 (0)