2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

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

This commit is contained in:
Stephen Morris
2012-12-10 14:21:14 +00:00
parent 7942b605f6
commit 4f17a81c04

View File

@@ -674,7 +674,7 @@ TEST_F(Dhcpv6SrvTest, RequestBasic) {
// check that the lease is really in the database // check that the lease is really in the database
Lease6Ptr l = checkLease(duid_, reply->getOption(D6O_IA_NA), addr); Lease6Ptr l = checkLease(duid_, reply->getOption(D6O_IA_NA), addr);
EXPECT_TRUE(l); 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 // This test checks that the server is offering different addresses to different