Restore ability to handle default routes on multiple interfaces, this
authorflorian <florian@openbsd.org>
Sat, 27 Feb 2021 17:53:23 +0000 (17:53 +0000)
committerflorian <florian@openbsd.org>
Sat, 27 Feb 2021 17:53:23 +0000 (17:53 +0000)
commit7bd66a84f5a8b0921e6bd8a9884ac0ec1b399b19
tree0afca43db2266d0e2b508ac78ef55bc36439060a
parent39a47af7398ae00e2db9b873a9b2fa386f5b6f90
Restore ability to handle default routes on multiple interfaces, this
got lost shortly before initial import.
While here explicitly delete the default route when deconfiguring an
interface. There might be corner cases where the stack will not tear
it down for us when we remove the IP address.
sbin/dhcpleased/dhcpleased.c