When an interface disappears, e.g. when a usb dongle gets unplugged,
authorflorian <florian@openbsd.org>
Tue, 24 Aug 2021 14:54:02 +0000 (14:54 +0000)
committerflorian <florian@openbsd.org>
Tue, 24 Aug 2021 14:54:02 +0000 (14:54 +0000)
commitd3097762616da57d9c8f5f8181d1685a47431559
tree30ef783c06dabba893de245953b689a03cdfa3e2
parenta8a4f72d678ed100ccde84a4f8cd958fda6910aa
When an interface disappears, e.g. when a usb dongle gets unplugged,
we get a RTM_IFANNOUNCE message not a RTM_IFINFO message.
Handle this message to not accumulate "unknown" interfaces.
OK benno
sbin/dhcpleased/dhcpleased.c
sbin/dhcpleased/frontend.c