mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-12-29 17:29:02 +00:00
zebra: check kernel routes when interface becomes up
Just like `link down`, check all kernel routes when interface become up. And, they maybe will be selected as the best one by zebra. Signed-off-by: anlan_cs <anlan_cs@126.com>
This commit is contained in:
parent
298bc623e7
commit
4d2ac714f0
@ -972,6 +972,8 @@ void if_up(struct interface *ifp, bool install_connected)
|
||||
event_ignore_late_timer(zif->speed_update);
|
||||
|
||||
if_addr_wakeup(ifp);
|
||||
|
||||
rib_update_handle_vrf_all(RIB_UPDATE_KERNEL, ZEBRA_ROUTE_KERNEL);
|
||||
}
|
||||
|
||||
/* Interface goes down. We have to manage different behavior of based
|
||||
|
||||
Loading…
Reference in New Issue
Block a user