diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-04-05 21:25:57 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-04-06 23:41:32 +0200 |
commit | aa056a2a6481aba66c727794d0ee988724be9316 (patch) | |
tree | 15a413efc55f5103fa633ffc77acd1b31d7d6c38 /bgpd/bgp_evpn.h | |
parent | bgpd: Limit flowspec to no attribute means a implicit withdrawal (diff) | |
download | frr-aa056a2a6481aba66c727794d0ee988724be9316.tar.xz frr-aa056a2a6481aba66c727794d0ee988724be9316.zip |
bgpd: Treat withdraw variable as a bool
Used as a bool, treated as a bool. Make it a bool
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_evpn.h')
-rw-r--r-- | bgpd/bgp_evpn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_evpn.h b/bgpd/bgp_evpn.h index 1dce4820d..a034bfbd7 100644 --- a/bgpd/bgp_evpn.h +++ b/bgpd/bgp_evpn.h @@ -150,7 +150,7 @@ extern void bgp_evpn_encode_prefix(struct stream *s, const struct prefix *p, 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); + struct bgp_nlri *packet, bool withdraw); extern int bgp_evpn_import_route(struct bgp *bgp, afi_t afi, safi_t safi, const struct prefix *p, struct bgp_path_info *ri); |