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>
Wed, 15 Aug 2012 01:22:19 +0000 (03:22 +0200)
commit71edb682e79109102030ae26a5d207cc6a6384c5
treeb1db7293c86b354f030749a08d4f4ef72935c316
parent5d9fea5f7243e8165ff7ac7b5951edef59d71f9e
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