summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_evpn.h
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_evpn.h
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_evpn.h')
-rw-r--r--bgpd/bgp_evpn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_evpn.h b/bgpd/bgp_evpn.h
index eec746e3b..67659ea19 100644
--- a/bgpd/bgp_evpn.h
+++ b/bgpd/bgp_evpn.h
@@ -183,7 +183,7 @@ extern void bgp_evpn_route2json(const struct prefix_evpn *p, json_object *json);
extern void bgp_evpn_encode_prefix(struct stream *s, const struct prefix *p,
const struct prefix_rd *prd,
mpls_label_t *label, uint32_t num_labels,
- struct attr *attr, int addpath_encode,
+ struct attr *attr, bool addpath_capable,
uint32_t addpath_tx_id);
extern int bgp_nlri_parse_evpn(struct peer *peer, struct attr *attr,
struct bgp_nlri *packet, int withdraw);