When accepting a BOOTP lease, do not leak offered values of lease
authorkrw <krw@openbsd.org>
Fri, 8 Dec 2017 20:17:28 +0000 (20:17 +0000)
committerkrw <krw@openbsd.org>
Fri, 8 Dec 2017 20:17:28 +0000 (20:17 +0000)
commit5409ed3f5aa5da495ff97fa093aa726817511195
treea9a775d5386ee950e5c7a1616cb194d8c9044bc7
parent28f7a6111e22c31991b54f1ee04b0d5dae7bd62d
When accepting a BOOTP lease, do not leak offered values of lease
time, renewal time, rebinding time. Use the ACTION_DEFAULT mechanism
to set the default expiry time for any lease so gauche as to not
provide one. Use the DHCP default lease times for BOOTP leases instead
of, bizarrely, shorter times.
sbin/dhclient/clparse.c
sbin/dhclient/dhclient.c