Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
c716f433
Commit
c716f433
authored
Jan 14, 2014
by
Marcin Siodelski
Browse files
[3279] Include transaction id in the logger message.
parent
0d08bdc7
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp4/dhcp4_messages.mes
View file @
c716f433
...
...
@@ -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 hold
s
the name of the interface on which
the message has
been received.
this message doesn't match the identifier used by our server. The argument
s
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
...
...
src/bin/dhcp4/dhcp4_srv.cc
View file @
c716f433
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment