Re: OpenBSD 6.6 - issue with detecting Ethernet link up after cable unplug / replug
Roy Marples
Sun Nov 10 22:15:47 2019
Hi Stuart
On 10/11/2019 22:05, Stuart Henderson wrote:
dhcpcd tracks LINK_STATE_UNKNOWN separately but it's already handled by the
earlier case in the switch, so LINK_STATE_IS_UP shouldn't cause any problem
for dhcpcd here, and it seems better to use the standard interface in case
any other "up" states are added.
Please see my earlier email as to why I can't use the standard BSD
LINK_STATE_IS_UP macro.
https://roy.marples.name/archives/dhcpcd-discuss/0002687.html
Roy
Archive administrator: postmaster@marples.name