diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-03-22 14:50:46 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-03-22 14:50:46 -0400 | 
| commit | bd494ec5ed8124991be72fe24e61189429d72c2c (patch) | |
| tree | ff15a39bd64fe3ffe85226de552ed0604fa65d17 /bgpd/bgp_flowspec_util.h | |
| parent | d03e644c2b4bd4eb4d7be878de5247906e61f420 (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_util.h')
| -rw-r--r-- | bgpd/bgp_flowspec_util.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_flowspec_util.h b/bgpd/bgp_flowspec_util.h index bd89176bec..0e78c7a53c 100644 --- a/bgpd/bgp_flowspec_util.h +++ b/bgpd/bgp_flowspec_util.h @@ -50,7 +50,7 @@ struct bgp_pbr_entry_main;  extern int bgp_flowspec_match_rules_fill(uint8_t *nlri_content, int len,  					 struct bgp_pbr_entry_main *bpem); -extern bool bgp_flowspec_contains_prefix(struct prefix *pfs, +extern bool bgp_flowspec_contains_prefix(const struct prefix *pfs,  					 struct prefix *input,  					 int prefix_check);  | 
