mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 09:18:53 +00:00
bgpd: Fix EVPN advertise route-map application
When a IPv4 or IPv6 route that was formerly allowed by the route-map to be injected into EVPN gets an updated set of attributes that now causes it to be filtered, the route needs to be pulled out of EVPN. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
cacbdfb14d
commit
c27ee4c4e4
@ -2490,6 +2490,9 @@ static void bgp_process_main_one(struct bgp *bgp, struct bgp_node *rn,
|
||||
bgp_evpn_advertise_type5_route(
|
||||
bgp, &rn->p, new_select->attr,
|
||||
afi, safi);
|
||||
else
|
||||
bgp_evpn_withdraw_type5_route(
|
||||
bgp, &rn->p, afi, safi);
|
||||
} else {
|
||||
bgp_evpn_advertise_type5_route(bgp,
|
||||
&rn->p,
|
||||
|
Loading…
Reference in New Issue
Block a user