diff --git a/doc/examples/kea6/softwire46.json b/doc/examples/kea6/softwire46.json index 6f68fde1fc..4e84a8f4af 100644 --- a/doc/examples/kea6/softwire46.json +++ b/doc/examples/kea6/softwire46.json @@ -10,7 +10,7 @@ "interfaces": [ "ethX" ] }, -# We need to specify lease type. +# Let's use a Memfile backend to store leases. "lease-database": { "type": "memfile" }, diff --git a/src/lib/dhcp/tests/option6_pdexclude_unittest.cc b/src/lib/dhcp/tests/option6_pdexclude_unittest.cc index 7626991c00..edc2293d37 100644 --- a/src/lib/dhcp/tests/option6_pdexclude_unittest.cc +++ b/src/lib/dhcp/tests/option6_pdexclude_unittest.cc @@ -60,7 +60,7 @@ TEST(Option6PDExcludeTest, pack) { const uint8_t expected_data[] = { 0x00, 0x43, // option code 67 0x00, 0x02, // option length 2 - 0x3F, 0x70 // excluded prefix length 59 + subnet id + 0x3F, 0x70 // excluded prefix length 63 + subnet id }; std::vector expected_vec(expected_data, expected_data + sizeof(expected_data));