Switch dispatch loop to ppoll() and protocol timeouts to struct timespec.
authorkrw <krw@openbsd.org>
Mon, 1 Feb 2021 01:42:20 +0000 (01:42 +0000)
committerkrw <krw@openbsd.org>
Mon, 1 Feb 2021 01:42:20 +0000 (01:42 +0000)
commitfa4dce490f2e9112f8deb5bdbb77e8e309868ea6
treee7a8de783daeefefaf0f2119a4d3eb0fc23d26b0
parent5812a4ad62ca07807ac0bc59f22eb8813e6069bc
Switch dispatch loop to ppoll() and protocol timeouts to struct timespec.

Reduces spurious packet transmissions in situations with short timings.

Suggestions millert@, further suggestions & ok cheloha@
sbin/dhclient/dhcpd.h
sbin/dhclient/dispatch.c