mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-01 14:55:30 +00:00
More informative syslog report on BOOTREPLY
This commit is contained in:
4
bootp.c
4
bootp.c
@@ -229,8 +229,8 @@ void bootp (packet)
|
|||||||
memcpy (hto.haddr, packet -> raw -> chaddr, hto.hlen);
|
memcpy (hto.haddr, packet -> raw -> chaddr, hto.hlen);
|
||||||
|
|
||||||
/* Report what we're doing... */
|
/* Report what we're doing... */
|
||||||
note ("BOOTREPLY for %s to %s via %s",
|
note ("BOOTREPLY for %s to %s (%s) via %s",
|
||||||
inet_ntoa (raw.yiaddr),
|
piaddr (ip_address), hp -> name,
|
||||||
print_hw_addr (packet -> raw -> htype,
|
print_hw_addr (packet -> raw -> htype,
|
||||||
packet -> raw -> hlen,
|
packet -> raw -> hlen,
|
||||||
packet -> raw -> chaddr),
|
packet -> raw -> chaddr),
|
||||||
|
@@ -229,8 +229,8 @@ void bootp (packet)
|
|||||||
memcpy (hto.haddr, packet -> raw -> chaddr, hto.hlen);
|
memcpy (hto.haddr, packet -> raw -> chaddr, hto.hlen);
|
||||||
|
|
||||||
/* Report what we're doing... */
|
/* Report what we're doing... */
|
||||||
note ("BOOTREPLY for %s to %s via %s",
|
note ("BOOTREPLY for %s to %s (%s) via %s",
|
||||||
inet_ntoa (raw.yiaddr),
|
piaddr (ip_address), hp -> name,
|
||||||
print_hw_addr (packet -> raw -> htype,
|
print_hw_addr (packet -> raw -> htype,
|
||||||
packet -> raw -> hlen,
|
packet -> raw -> hlen,
|
||||||
packet -> raw -> chaddr),
|
packet -> raw -> chaddr),
|
||||||
|
Reference in New Issue
Block a user