Browse Source

[master] Obvious typo failing on Fedora 27 beta

Francis Dupont 7 years ago
parent
commit
639250bddc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/dhcp6/tests/shared_network_unittest.cc

+ 1 - 1
src/bin/dhcp6/tests/shared_network_unittest.cc

@@ -2021,7 +2021,7 @@ TEST_F(Dhcpv6SharedNetworkTest, reservedAddressAndPrefix) {
     ASSERT_EQ(4, client.getLeaseNum());
     ASSERT_EQ(4, client.getLeaseNum());
     // The client should have got one reserved address and one reserved prefix.
     // The client should have got one reserved address and one reserved prefix.
     ASSERT_TRUE(hasLeaseForAddress(client, IOAddress("2001:db8:2::28")));
     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
     // The client should have got dynamically allocated address too and it must be
     // different than the reserved address.
     // different than the reserved address.