summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_flowspec.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-04-05 21:25:57 +0200
committerDonald Sharp <sharpd@nvidia.com>2023-04-06 23:41:32 +0200
commitaa056a2a6481aba66c727794d0ee988724be9316 (patch)
tree15a413efc55f5103fa633ffc77acd1b31d7d6c38 /bgpd/bgp_flowspec.h
parentbgpd: Limit flowspec to no attribute means a implicit withdrawal (diff)
downloadfrr-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.h2
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);