summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2022-04-10 10:03:24 +0200
committeranlan_cs <vic.lan@pica8.com>2022-04-10 13:39:19 +0200
commitb3ba21181adca3ae11475eab5065abb4212542e6 (patch)
treeb961d24e1fcfe62709f889ddf567410a7efe1c2c /bgpd
parentMerge pull request #10919 from donaldsharp/lost_kernel_routes (diff)
downloadfrr-b3ba21181adca3ae11475eab5065abb4212542e6.tar.xz
frr-b3ba21181adca3ae11475eab5065abb4212542e6.zip
bgpd: correct one flag name on comment for evpn-mh
Correct flag name of `attr.es_flags` - ATTR_ES_L3_NHG_USE. "bgp_path_info"s (Per "es-vrf") with this flag can use l3nhg. Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_evpn_mh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_evpn_mh.c b/bgpd/bgp_evpn_mh.c
index 858fee50b..f6516d220 100644
--- a/bgpd/bgp_evpn_mh.c
+++ b/bgpd/bgp_evpn_mh.c
@@ -1688,7 +1688,7 @@ static bool bgp_evpn_is_macip_path(struct bgp_path_info *pi)
* This is done indirectly by re-attempting an install of the
* route in the associated VRFs. As a part of the VRF install use
* of l3 NHG is evaluated and this results in the
- * attr.es_flag ATTR_ES_USE_L3_NHG being set or cleared.
+ * attr.es_flag ATTR_ES_L3_NHG_USE being set or cleared.
*/
static void
bgp_evpn_es_path_update_on_es_vrf_chg(struct bgp_evpn_es_vrf *es_vrf,