From 00b90ea20ad766d740fa1da8a7a6219bc4553ab6 Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Sat, 29 Oct 2016 13:14:39 +0200 Subject: [PATCH] [5016] Corrected some other minor issues as a result of review. --- doc/examples/kea6/softwire46.json | 2 +- src/lib/dhcp/tests/option6_pdexclude_unittest.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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));