summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_updgrp.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-14 02:34:42 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-10-09 20:14:25 +0200
commit1defdda8e840182f555879016c127c35c48183d9 (patch)
treee7761ec7cf7e6ab544412f93e486b0d6c1bbeb8b /bgpd/bgp_updgrp.c
parentbgpd: Rename some BGP_PATH_XXX to BGP_PATH_SHOW_XXX (diff)
downloadfrr-1defdda8e840182f555879016c127c35c48183d9.tar.xz
frr-1defdda8e840182f555879016c127c35c48183d9.zip
bgpd: Convert BGP_INFO_XXX to BGP_PATH_XXX
Search and replace all BGP_INFO_XXX to BGP_PATH_XXX Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_updgrp.c')
-rw-r--r--bgpd/bgp_updgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_updgrp.c b/bgpd/bgp_updgrp.c
index 7f7b4a893..e2e25e50f 100644
--- a/bgpd/bgp_updgrp.c
+++ b/bgpd/bgp_updgrp.c
@@ -1912,7 +1912,7 @@ int bgp_addpath_tx_path(struct peer *peer, afi_t afi, safi_t safi,
if (CHECK_FLAG(peer->af_flags[afi][safi],
PEER_FLAG_ADDPATH_TX_BESTPATH_PER_AS)
- && CHECK_FLAG(ri->flags, BGP_INFO_DMED_SELECTED))
+ && CHECK_FLAG(ri->flags, BGP_PATH_DMED_SELECTED))
return 1;
return 0;