On Thu, Jan 14, 2021 at 07:46:04PM +0100, Vincent Bernat wrote: > It is more complex that I would have expected. First, in-kernel, the > next-hop only has RTNH_F_LINKDOWN, not RTNH_F_DEAD. This later flag is > added when sending the flags over netlink only. > > Second, there is no async notification when a route goes down either. > There is a notification on the interface. How BIRD handles this case? Is > a route scan triggered when an interface goes down? I'll test more > later, it's a bit late for me.
Hi Yes, scan is triggered in krt_if_notify() for iface-admin-down event. Perhaps we can also trigger scan for iface-link-down event. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."