]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5389] Fixed Dhcpv6SharedNetworkTest::reservedAddressAndPrefix typo
authorFrancis Dupont <fdupont@isc.org>
Mon, 18 Dec 2017 08:37:04 +0000 (09:37 +0100)
committerFrancis Dupont <fdupont@isc.org>
Mon, 18 Dec 2017 08:37:04 +0000 (09:37 +0100)
src/bin/dhcp6/tests/shared_network_unittest.cc

index a3551462e7aa6740d9302403172b324777df274d..38d7d3cc3c578998ad5ada966325830b28e05068 100644 (file)
@@ -2021,7 +2021,7 @@ TEST_F(Dhcpv6SharedNetworkTest, reservedAddressAndPrefix) {
     ASSERT_EQ(4, client.getLeaseNum());
     // The client should have got one reserved address and one reserved prefix.
     ASSERT_TRUE(hasLeaseForAddress(client, IOAddress("2001:db8:2::28")));
-    ASSERT_TRUE(hasLeaseForPrefix(client, IOAddress("5000::8:00000"), 112, IAID(0x1111)));
+    ASSERT_TRUE(hasLeaseForPrefix(client, IOAddress("5000::8:0000"), 112, IAID(0x1111)));
 
     // The client should have got dynamically allocated address too and it must be
     // different than the reserved address.