mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 12:10:24 +00:00
bgpd: perform route selection again when the local path is deleted
This is needed to install the remote dst when a more preferred local path is removed. Ticket: CM-22685 Reviewed By: CCR-7936 Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
This commit is contained in:
parent
e98e4b8899
commit
3e3aa88e5f
@ -1921,8 +1921,10 @@ static int delete_evpn_route(struct bgp *bgp, struct bgpevpn *vpn,
|
||||
/* Delete route entry in the VNI route table. This can just be removed.
|
||||
*/
|
||||
delete_evpn_route_entry(bgp, afi, safi, rn, &pi);
|
||||
if (pi)
|
||||
if (pi) {
|
||||
bgp_path_info_reap(rn, pi);
|
||||
evpn_route_select_install(bgp, vpn, rn);
|
||||
}
|
||||
bgp_unlock_node(rn);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user