From: Marcin Siodelski Date: Mon, 11 Dec 2017 09:38:42 +0000 (+0100) Subject: [5403] Remove some comments as a result of the review. X-Git-Tag: trac5452_base~9^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a18aaf668ff4637ce60c7784e0a9bb6b89f06631;p=thirdparty%2Fkea.git [5403] Remove some comments as a result of the review. --- 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();