summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_flowspec.h
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2018-09-04 19:39:04 +0200
committerDon Slice <dslice@cumulusnetworks.com>2018-09-04 19:39:04 +0200
commit088f109866e7b66239c75573a895f54295a99494 (patch)
treebe85d7a696d7304bf5933e41d390921b0570e914 /bgpd/bgp_flowspec.h
parentMerge pull request #2966 from donaldsharp/v6_cleanup (diff)
downloadfrr-088f109866e7b66239c75573a895f54295a99494.tar.xz
frr-088f109866e7b66239c75573a895f54295a99494.zip
bgpd, ospfd, pimd, zebra: Convert more use_json locations to bool
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_flowspec.h')
-rw-r--r--bgpd/bgp_flowspec.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/bgpd/bgp_flowspec.h b/bgpd/bgp_flowspec.h
index 9f69dbedd..f07b696b8 100644
--- a/bgpd/bgp_flowspec.h
+++ b/bgpd/bgp_flowspec.h
@@ -34,9 +34,8 @@ extern void bgp_flowspec_vty_init(void);
extern int bgp_show_table_flowspec(struct vty *vty, struct bgp *bgp, afi_t afi,
struct bgp_table *table,
- enum bgp_show_type type,
- void *output_arg, uint8_t use_json,
- int is_last,
+ enum bgp_show_type type, void *output_arg,
+ bool use_json, int is_last,
unsigned long *output_cum,
unsigned long *total_cum);
@@ -50,12 +49,10 @@ extern void route_vty_out_flowspec(struct vty *vty, struct prefix *p,
extern int bgp_fs_config_write_pbr(struct vty *vty, struct bgp *bgp,
afi_t afi, safi_t safi);
-extern int bgp_flowspec_display_match_per_ip(afi_t afi,
- struct bgp_table *rib,
- struct prefix *match,
- int prefix_check,
- struct vty *vty,
- uint8_t use_json,
- json_object *json_paths);
+extern int bgp_flowspec_display_match_per_ip(afi_t afi, struct bgp_table *rib,
+ struct prefix *match,
+ int prefix_check, struct vty *vty,
+ bool use_json,
+ json_object *json_paths);
#endif /* _FRR_BGP_FLOWSPEC_H */