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_flowspec.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_flowspec.h')
-rw-r--r-- | bgpd/bgp_flowspec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_flowspec.h b/bgpd/bgp_flowspec.h index 58fc1775a..bc2f00511 100644 --- a/bgpd/bgp_flowspec.h +++ b/bgpd/bgp_flowspec.h @@ -15,7 +15,7 @@ #define BGP_FLOWSPEC_NLRI_STRING_MAX 512 extern int bgp_nlri_parse_flowspec(struct peer *peer, struct attr *attr, - struct bgp_nlri *packet, int withdraw); + struct bgp_nlri *packet, bool withdraw); extern void bgp_flowspec_vty_init(void); |