mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-19 05:40:23 +01:00
Print out DHCP reply port #s for better debugging
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@425 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
91ae7543e6
commit
a224c667ab
1 changed files with 2 additions and 2 deletions
|
|
@ -621,14 +621,14 @@ int dhcp_handle_transaction (dhcp_interface *iface, unsigned int expected_reply_
|
|||
if (ntohs (udp_hdr->source) != DHCP_SERVER_PORT)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
syslog (LOG_INFO, "DHCP: Reply message's source port was not the DHCP server port number, won't use it.");
|
||||
syslog (LOG_INFO, "DHCP: Reply message's source port (%d) was not the DHCP server port number (%d), won't use it.", ntohs (udp_hdr->source), DHCP_SERVER_PORT);
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
if (ntohs (udp_hdr->dest) != DHCP_CLIENT_PORT)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
syslog (LOG_INFO, "DHCP: Reply message's destination port was not the DHCP client port number, won't use it.");
|
||||
syslog (LOG_INFO, "DHCP: Reply message's destination port (%d) was not the DHCP client port number (%d), won't use it.", ntohs (udp_hdr->dest), DHCP_CLIENT_PORT);
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue