From: Francis Dupont Date: Wed, 3 Jun 2015 13:41:43 +0000 (+0200) Subject: [3504b] Switched to bad_packet_logger X-Git-Tag: trac3889_base~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e40a912478170309e89d89e5b853ae39ec419c92;p=thirdparty%2Fkea.git [3504b] Switched to bad_packet_logger --- diff --git a/src/bin/dhcp4/dhcp4_srv.cc b/src/bin/dhcp4/dhcp4_srv.cc index 4d2c81169f..9e09e88124 100644 --- a/src/bin/dhcp4/dhcp4_srv.cc +++ b/src/bin/dhcp4/dhcp4_srv.cc @@ -1687,11 +1687,12 @@ Dhcpv4Srv::processRelease(Pkt4Ptr& release) { Subnet4Ptr subnet = selectSubnet(release); if (!subnet) { - // No subnet - release no sent from the proper location - LOG_DEBUG(lease_logger, DBG_DHCP4_DETAIL, DHCP4_RELEASE_FAIL_NO_SUBNET) - .arg(release->getLabel()) - .arg(release->getCiaddr().toText()); - return; + // No subnet - release no sent from the proper location + LOG_DEBUG(bad_packet_logger, DBG_DHCP4_DETAIL, + DHCP4_RELEASE_FAIL_NO_SUBNET) + .arg(release->getLabel()) + .arg(release->getCiaddr().toText()); + return; } try {