mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 05:13:07 +00:00
bgpd: update type-5 routes upon vrf export-rt change
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
This commit is contained in:
parent
06d2e8f3ba
commit
4992b4aee2
@ -3035,6 +3035,10 @@ static void bgp_evpn_handle_export_rt_change_for_vrf(struct bgp *bgp_vrf)
|
|||||||
if (!bgp_def)
|
if (!bgp_def)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
/* update all type-5 routes */
|
||||||
|
update_advertise_vrf_routes(bgp_vrf);
|
||||||
|
|
||||||
|
/* update all type-2 routes */
|
||||||
for (ALL_LIST_ELEMENTS_RO(bgp_vrf->l2vnis, node, vpn))
|
for (ALL_LIST_ELEMENTS_RO(bgp_vrf->l2vnis, node, vpn))
|
||||||
update_routes_for_vni(bgp_def, vpn);
|
update_routes_for_vni(bgp_def, vpn);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user