Set 'select_timeout' to 'now' when an OFFER is received for the IP address
authorkrw <krw@openbsd.org>
Wed, 31 Mar 2021 21:17:46 +0000 (21:17 +0000)
committerkrw <krw@openbsd.org>
Wed, 31 Mar 2021 21:17:46 +0000 (21:17 +0000)
commit9e177caab2b67c448dce9a137f0069446e99e7c4
tree4c64b4b22f7ca32ee0c814a8d2ecf76d457d9887
parentb1aad0da4e65102964300db05c33d49c378b35a9
Set 'select_timeout' to 'now' when an OFFER is received for the IP address
requested in the DISCOVER.

i.e. immediately accept the OFFER rather than waiting for select_timeout to
expire before accepting the same OFFER.

A corner case since select-timeout is 0 by default.
sbin/dhclient/dhclient.c