mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 16:06:20 +00:00
bgpd:evpn-mh esi not active suppress ead-es route
update_type1_routes_for_evi() is called from L3VNI/L2VNI up event, if ESI is not UP then do not advertise EAD-ES Type-1 route. Just like from multiple places EAD-ES route origination checks for its oper status. Ticket:#3413454 Issue:3413454 Signed-off-by: Trey Aspelund <taspelund@nvidia.com> Signed-off-by: Chirag Shah <chirag@nvidia.com>
This commit is contained in:
parent
48055cc48e
commit
c683b7baad
@ -1071,7 +1071,8 @@ void update_type1_routes_for_evi(struct bgp *bgp, struct bgpevpn *vpn)
|
||||
continue;
|
||||
|
||||
/* Update EAD-ES */
|
||||
bgp_evpn_ead_es_route_update(bgp, es);
|
||||
if (bgp_evpn_local_es_is_active(es))
|
||||
bgp_evpn_ead_es_route_update(bgp, es);
|
||||
|
||||
/* Update EAD-EVI */
|
||||
if (CHECK_FLAG(es->flags, BGP_EVPNES_ADV_EVI)) {
|
||||
|
Loading…
Reference in New Issue
Block a user