From a18aaf668ff4637ce60c7784e0a9bb6b89f06631 Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Mon, 11 Dec 2017 10:38:42 +0100 Subject: [PATCH] [5403] Remove some comments as a result of the review. --- src/bin/dhcp6/dhcp6_srv.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bin/dhcp6/dhcp6_srv.cc b/src/bin/dhcp6/dhcp6_srv.cc index a382f2514f..15f4703641 100644 --- a/src/bin/dhcp6/dhcp6_srv.cc +++ b/src/bin/dhcp6/dhcp6_srv.cc @@ -2004,7 +2004,7 @@ Dhcpv6Srv::extendIA_PD(const Pkt6Ptr& query, .arg(static_cast((*l)->prefixlen_)) .arg(ia->getIAID()); - // Now remove this address from the hints list. + // Now remove this prefix from the hints list. AllocEngine::ResourceType hint_type((*l)->addr_, (*l)->prefixlen_); hints.erase(std::remove(hints.begin(), hints.end(), hint_type), hints.end()); @@ -2028,8 +2028,6 @@ Dhcpv6Srv::extendIA_PD(const Pkt6Ptr& query, hints.erase(std::remove(hints.begin(), hints.end(), hint_type), hints.end()); } - // For all the leases the client had requested, but we didn't assign, put them with - // zero lifetimes // Finally, if there are any prefixes requested that we haven't dealt with // already, inform the client that he can't have them. for (AllocEngine::HintContainer::const_iterator prefix = hints.begin(); -- 2.47.2