Browse Source

[2546] Changed a missed "deleteLease6" to "deleteLease"

Stephen Morris 12 years ago
parent
commit
4f17a81c04
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/dhcp6/tests/dhcp6_srv_unittest.cc

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

@@ -674,7 +674,7 @@ TEST_F(Dhcpv6SrvTest, RequestBasic) {
     // check that the lease is really in the database
     Lease6Ptr l = checkLease(duid_, reply->getOption(D6O_IA_NA), addr);
     EXPECT_TRUE(l);
-    LeaseMgrFactory::instance().deleteLease6(addr->getAddress());
+    LeaseMgrFactory::instance().deleteLease(addr->getAddress());
 }
 
 // This test checks that the server is offering different addresses to different