Stop inserting and paying attention to 'interface <if>;'
authorkrw <krw@openbsd.org>
Mon, 18 Dec 2017 14:17:58 +0000 (14:17 +0000)
committerkrw <krw@openbsd.org>
Mon, 18 Dec 2017 14:17:58 +0000 (14:17 +0000)
commit222a1a48e8af33b5bc9cadbaa1579d28d9061736
treed7287531a42adbd9356cbb8212b9e44b452cf62b
parentbac5600a0a7cfb47dd02ae14fbaf386ccab465e7
Stop inserting and paying attention to 'interface <if>;'
inside 'lease {}' declarations. We don't keep leases from
multiple interfaces in dhclient.leases.<if> files.

One less thing to parse and keep in memory. More rope for
those wanting to do unspeakable things with their lease files.
sbin/dhclient/clparse.c
sbin/dhclient/dhclient.c
sbin/dhclient/dhclient.leases.5
sbin/dhclient/dhcpd.h