Commit 4f17a81c authored by Stephen Morris's avatar Stephen Morris
Browse files

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

parent 7942b605
...@@ -674,7 +674,7 @@ TEST_F(Dhcpv6SrvTest, RequestBasic) { ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment