dhclient - Add 6-byte MAC address to the log entries for DHCP ACK/NAK/OFFER.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Tue, 31 Jul 2012 20:29:29 +0000 (22:29 +0200)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Sun, 19 Aug 2012 14:30:14 +0000 (16:30 +0200)
commitbdf60627ca55845d183a05f32fc0bac7af9c375f
tree8ff4f47cb941eb1605b864abe6ddcb76097c3ec0
parentb976f5669e4108cfebb0d7c7f2c675c1adf9a90a
dhclient - Add 6-byte MAC address to the log entries for DHCP ACK/NAK/OFFER.

- Log the packets before checking the client state. Makes it easy to find
  MACs for 'surprise' DHCP servers.
- Swap ifi status check logic to be the first one.
sbin/dhclient/dhclient.c
sbin/dhclient/dhcpd.h
sbin/dhclient/dispatch.c
sbin/dhclient/options.c