dhclient - Nuke interface_link_status().
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Tue, 14 Aug 2012 22:44:47 +0000 (00:44 +0200)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Sun, 19 Aug 2012 14:30:56 +0000 (16:30 +0200)
commit80d26e4806f1a40969bd60f4cac0aba9c29f3886
tree8f46f26371a2c2b69cd5622b57bb301235a5f7c4
parentf6c633e7d30bd5f32591025bde9d3e565fe507ff
dhclient - Nuke interface_link_status().

- Make use of interface_status() (check IFF_UP|IFF_RUNNING
  and media status). The interface is forced up when dhclient
  starts so the flags should be correct.

Taken-from: OpenBSD
sbin/dhclient/dhclient.c
sbin/dhclient/dhcpd.h
sbin/dhclient/dispatch.c