mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 18:20:15 +00:00
bgpd: disable NHGs with D-VNI
Disable the use of NHGs with D-VNI for now. We don't support them. Signed-off-by: Stephen Worley <sworley@nvidia.com>
This commit is contained in:
parent
742341e144
commit
43853c9c04
@ -3184,6 +3184,10 @@ bool bgp_evpn_path_es_use_nhg(struct bgp *bgp_vrf, struct bgp_path_info *pi,
|
|||||||
if (!memcmp(esi, zero_esi, sizeof(*esi)))
|
if (!memcmp(esi, zero_esi, sizeof(*esi)))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
/* we don't support NHG for d-vni yet */
|
||||||
|
if (bgp_evpn_mpath_has_dvni(bgp_vrf, pi))
|
||||||
|
return false;
|
||||||
|
|
||||||
bgp_evpn_es_vrf_use_nhg(bgp_vrf, esi, &use_l3nhg, &is_l3nhg_active,
|
bgp_evpn_es_vrf_use_nhg(bgp_vrf, esi, &use_l3nhg, &is_l3nhg_active,
|
||||||
&es_vrf);
|
&es_vrf);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user