No need to manually check validity of ifi->active when
authorkrw <krw@openbsd.org>
Wed, 21 Jun 2017 15:49:27 +0000 (15:49 +0000)
committerkrw <krw@openbsd.org>
Wed, 21 Jun 2017 15:49:27 +0000 (15:49 +0000)
commit124ac52daa8ed7fe2a52a8aec45915979c37350f
tree9aeff8cf4dc0fd9ff52701d41d4ba96d10c04666
parentb8d05a73c6b9ef70fc673b6c2648670f4c833ed8
No need to manually check validity of ifi->active when
REBOOT'ing. It will be pointing to a recorded lease if
anything. So rely on get_recorded_lease() to return the
next valid candidate lease, which might be the lease
ifi->active was pointing at.
sbin/dhclient/dhclient.c