summaryrefslogtreecommitdiffstats
path: root/src/bin/dhcp6/tests/renew_unittest.cc
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2016-10-27 20:20:25 +0200
committerMarcin Siodelski <marcin@isc.org>2016-10-27 20:20:25 +0200
commit3e7fa856b7e896c38e64f7d85d89f07db2aa06ea (patch)
tree9a06401f7c0ce93f30a82e30548bd5c63f6b69e3 /src/bin/dhcp6/tests/renew_unittest.cc
parent[5016] Option6PDExclude holds subnet id rather than entire prefix. (diff)
downloadkea-3e7fa856b7e896c38e64f7d85d89f07db2aa06ea.tar.xz
kea-3e7fa856b7e896c38e64f7d85d89f07db2aa06ea.zip
[5016] Update server code and tests to properly use exclude option.
Diffstat (limited to 'src/bin/dhcp6/tests/renew_unittest.cc')
-rw-r--r--src/bin/dhcp6/tests/renew_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/dhcp6/tests/renew_unittest.cc b/src/bin/dhcp6/tests/renew_unittest.cc
index 07324f2433..c61066fcd8 100644
--- a/src/bin/dhcp6/tests/renew_unittest.cc
+++ b/src/bin/dhcp6/tests/renew_unittest.cc
@@ -218,7 +218,7 @@ const char* RENEW_CONFIGS[] = {
" \"interface-id\": \"\","
" \"interface\": \"eth0\""
" } ],"
- "\"valid-lifetime\": 4000 }
+ "\"valid-lifetime\": 4000 }"
};
/// @brief Test fixture class for testing Renew.
@@ -352,7 +352,7 @@ TEST_F(RenewTest, renewWithExcludedPrefix) {
ASSERT_FALSE(option);
// Reconfigure the server to use the prefix pool with excluded prefix.
- configure(RENEW_CONFIGS[4], *client.getServer());
+ configure(RENEW_CONFIGS[5], *client.getServer());
// Send Renew message to the server, including IA_NA and IA_PD.
ASSERT_NO_THROW(client.doRenew());