@@ -370,7 +370,7 @@ TEST_F(AddrRegTest, noSubnet) {
370
370
// The query is silently rejected so no log to check.
371
371
}
372
372
373
- // Test that an IA_NA option is fordidden .
373
+ // Test that an IA_NA option is forbidden .
374
374
TEST_F (AddrRegTest, unexpectedIA_NA) {
375
375
IfaceMgrTestConfig test_config (true );
376
376
@@ -403,7 +403,7 @@ TEST_F(AddrRegTest, unexpectedIA_NA) {
403
403
EXPECT_EQ (1 , countFile (expected));
404
404
}
405
405
406
- // Test that an IA_TA option is fordidden .
406
+ // Test that an IA_TA option is forbidden .
407
407
TEST_F (AddrRegTest, unexpectedIA_TA) {
408
408
IfaceMgrTestConfig test_config (true );
409
409
@@ -437,7 +437,7 @@ TEST_F(AddrRegTest, unexpectedIA_TA) {
437
437
EXPECT_EQ (1 , countFile (expected));
438
438
}
439
439
440
- // Test that an IA_PD option is fordidden .
440
+ // Test that an IA_PD option is forbidden .
441
441
TEST_F (AddrRegTest, unexpectedIA_PD) {
442
442
IfaceMgrTestConfig test_config (true );
443
443
@@ -548,12 +548,12 @@ TEST_F(AddrRegTest, badIAADDR) {
548
548
addr_reg_inf->setIndex (ETH0_INDEX);
549
549
OptionPtr clientid = generateClientId ();
550
550
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 );
557
557
558
558
// Pass it to the server.
559
559
AllocEngine::ClientContext6 ctx;
0 commit comments