]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3919] Removed unused old_leases
authorFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2015 13:02:52 +0000 (15:02 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2015 13:02:52 +0000 (15:02 +0200)
src/bin/dhcp6/dhcp6_srv.cc

index 3927bcf64ac9b9a51d96f84883ecca6708572673..9ec0376287b731a96e1e9cdee81fe7f38897da01 100644 (file)
@@ -1611,7 +1611,6 @@ Dhcpv6Srv::assignIA_PD(const Pkt6Ptr& query, const Pkt6Ptr& answer,
     // will try to honor the hint, but it is just a hint - some other address
     // may be used instead. If fake_allocation is set to false, the lease will
     // be inserted into the LeaseMgr as well.
-    Lease6Collection old_leases;
     AllocEngine::ClientContext6 ctx(subnet, duid, ia->getIAID(), hint, Lease::TYPE_PD,
                                     false, false, string(), fake_allocation);
     ctx.callout_handle_ = getCalloutHandle(query);