From 4f17a81c04b1364a0835e9a9b9c26adc6c159cd3 Mon Sep 17 00:00:00 2001 From: Stephen Morris Date: Mon, 10 Dec 2012 14:21:14 +0000 Subject: [PATCH] [2546] Changed a missed "deleteLease6" to "deleteLease" --- src/bin/dhcp6/tests/dhcp6_srv_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc b/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc index 335fb7be08..9679700df4 100644 --- a/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc +++ b/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