summaryrefslogtreecommitdiffstats
path: root/src/bin/dhcp4/dhcp4_srv.cc
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2014-01-14 10:57:27 +0100
committerMarcin Siodelski <marcin@isc.org>2014-01-14 10:57:27 +0100
commitc716f4335d644744d16fa624e2b14dcf7bf217a4 (patch)
tree978c637070c13b6fa3e5c9d3eb343476899516ce /src/bin/dhcp4/dhcp4_srv.cc
parent[3279] Drop DHCPv4 packets for which the server id doesn't match. (diff)
downloadkea-c716f4335d644744d16fa624e2b14dcf7bf217a4.tar.xz
kea-c716f4335d644744d16fa624e2b14dcf7bf217a4.zip
[3279] Include transaction id in the logger message.
Diffstat (limited to '')
-rw-r--r--src/bin/dhcp4/dhcp4_srv.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/dhcp4/dhcp4_srv.cc b/src/bin/dhcp4/dhcp4_srv.cc
index 7678354698..864e6ca232 100644
--- a/src/bin/dhcp4/dhcp4_srv.cc
+++ b/src/bin/dhcp4/dhcp4_srv.cc
@@ -259,10 +259,11 @@ Dhcpv4Srv::run() {
}
}
- // Check if the DHCPv4 packet has been sent to us, to to someone else.
+ // Check if the DHCPv4 packet has been sent to us or to someone else.
// If it hasn't been sent to us, drop it!
if (!acceptServerId(query)) {
LOG_DEBUG(dhcp4_logger, DBG_DHCP4_DETAIL, DHCP4_PACKET_NOT_FOR_US)
+ .arg(query->getTransid())
.arg(query->getIface());
continue;
}