BIND 10 trac3279, updated. c716f4335d644744d16fa624e2b14dcf7bf217a4 [3279] Include transaction id in the logger message.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Jan 14 09:57:33 UTC 2014
The branch, trac3279 has been updated
via c716f4335d644744d16fa624e2b14dcf7bf217a4 (commit)
from 0d08bdc79a71a209b13a793d95a8ff4b4bea9d51 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c716f4335d644744d16fa624e2b14dcf7bf217a4
Author: Marcin Siodelski <marcin at isc.org>
Date: Tue Jan 14 10:57:27 2014 +0100
[3279] Include transaction id in the logger message.
-----------------------------------------------------------------------
Summary of changes:
src/bin/dhcp4/dhcp4_messages.mes | 8 ++++----
src/bin/dhcp4/dhcp4_srv.cc | 3 ++-
2 files changed, 6 insertions(+), 5 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/dhcp4/dhcp4_messages.mes b/src/bin/dhcp4/dhcp4_messages.mes
index 92dfd02..582871d 100644
--- a/src/bin/dhcp4/dhcp4_messages.mes
+++ b/src/bin/dhcp4/dhcp4_messages.mes
@@ -175,12 +175,12 @@ IPv4 DHCP server but it is not running.
A debug message issued during startup, this indicates that the IPv4 DHCP
server is about to open sockets on the specified port.
-% DHCP4_PACKET_NOT_FOR_US received DHCPv4 message dropped because it contains foreign server identifier, interface: %1
+% DHCP4_PACKET_NOT_FOR_US received DHCPv4 message dropped because it contains foreign server identifier: transaction id %1, interface: %2
This debug message is issued when received DHCPv4 message is dropped because
it is addressed to a different server, i.e. a server identifier held by
-this message doesn't match the identifier used by our server. The argument
-of this message holds the name of the interface on which the message has
-been received.
+this message doesn't match the identifier used by our server. The arguments
+of this message hold the name of the transaction id and interface on which
+the message has been received.
% DHCP4_OPEN_SOCKET_FAIL failed to create socket: %1
A warning message issued when IfaceMgr fails to open and bind a socket. The reason
diff --git a/src/bin/dhcp4/dhcp4_srv.cc b/src/bin/dhcp4/dhcp4_srv.cc
index 7678354..864e6ca 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;
}
More information about the bind10-changes
mailing list