Put duplicated code calculating backoff interval and packet 'secs'
authorkrw <krw@openbsd.org>
Fri, 19 Feb 2021 13:46:59 +0000 (13:46 +0000)
committerkrw <krw@openbsd.org>
Fri, 19 Feb 2021 13:46:59 +0000 (13:46 +0000)
commitef070878e23978634d3b7f6c8e3b74c3a0a34972
treeb09d4812c25d47bc61591e2e8e46f7ff8bdb340e
parente76e242121cfad9df67e7673f5f6cdf0d5c86084
Put duplicated code calculating backoff interval and packet 'secs'
into new set_interval()/set_secs() functions. send_request() and
send_discover() become much easier to understand.

No intentional functional change.
sbin/dhclient/dhclient.c