summaryrefslogtreecommitdiff
path: root/bgpd/bgp_flowspec.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-03-22 14:50:46 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-03-22 14:50:46 -0400
commitbd494ec5ed8124991be72fe24e61189429d72c2c (patch)
treeff15a39bd64fe3ffe85226de552ed0604fa65d17 /bgpd/bgp_flowspec.h
parentd03e644c2b4bd4eb4d7be878de5247906e61f420 (diff)
bgpd: More `const struct prefix` work
Modify more code to use `const struct prefix` throughout bgp. This is all prep work for adding an accessor function for bgp_node to get the prefix and reduce all the places that code needs to be touched when we get that work done. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.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 bc201b739f..94c571f2fc 100644
--- a/bgpd/bgp_flowspec.h
+++ b/bgpd/bgp_flowspec.h
@@ -43,7 +43,7 @@ extern void bgp_fs_nlri_get_string(unsigned char *nlri_content, size_t len,
char *return_string, int format,
json_object *json_path);
-extern void route_vty_out_flowspec(struct vty *vty, struct prefix *p,
+extern void route_vty_out_flowspec(struct vty *vty, const struct prefix *p,
struct bgp_path_info *path, int display,
json_object *json_paths);
extern int bgp_fs_config_write_pbr(struct vty *vty, struct bgp *bgp,