summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_conditional_adv.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2022-01-27 08:51:59 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2022-02-01 12:31:16 +0100
commitbe92fc9f1aae0f59e3d9f35bf9a557180b8ee7c6 (patch)
tree6cce785cde9a740ab1432119c9054e4f88e3288e /bgpd/bgp_conditional_adv.c
parentbuild: FRR 8.3 development version (diff)
downloadfrr-be92fc9f1aae0f59e3d9f35bf9a557180b8ee7c6.tar.xz
frr-be92fc9f1aae0f59e3d9f35bf9a557180b8ee7c6.zip
bgpd: Convert bgp_addpath_encode_[tr]x() to bool from int
Rename addpath_encode[d] to addpath_capable to be consistent. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'bgpd/bgp_conditional_adv.c')
-rw-r--r--bgpd/bgp_conditional_adv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_conditional_adv.c b/bgpd/bgp_conditional_adv.c
index 8e2f6ff50..6f7298587 100644
--- a/bgpd/bgp_conditional_adv.c
+++ b/bgpd/bgp_conditional_adv.c
@@ -75,7 +75,7 @@ static void bgp_conditional_adv_routes(struct peer *peer, afi_t afi,
struct route_map *rmap,
enum update_type update_type)
{
- int addpath_capable;
+ bool addpath_capable;
struct bgp_dest *dest;
struct bgp_path_info *pi;
struct bgp_path_info path;