Merge pull request #13240 from chiragshah6/fdev2

bgpd: EVPN-MH ESI is not active suppress EAD-ES Type-1 route
This commit is contained in:
Donatas Abraitis 2023-04-11 14:34:12 +03:00 committed by GitHub
commit 6231dde1cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)) {