Don't display the seconds until renewal. i.e. "em0: bound to 1.2.3.4
authorkrw <krw@openbsd.org>
Wed, 24 Jan 2018 19:12:49 +0000 (19:12 +0000)
committerkrw <krw@openbsd.org>
Wed, 24 Jan 2018 19:12:49 +0000 (19:12 +0000)
commit1eb4aacd246191f64ac35aa5f309a947789a1d7b
tree3f34c99f343da811e0a8ee4605afde54e7eee091
parentebfe4fe0f31a7e48b3252ff6d0f05e812ce32e1f
Don't display the seconds until renewal. i.e. "em0: bound to 1.2.3.4
-- renewal in 300000 seconds" becomes simply "em0: bound to 1.2.3.4"

While here avoid setting timeouts before the current time.

ok florian@
sbin/dhclient/dhclient.c
sbin/dhclient/dispatch.c