diff options
author | Mark Stapp <mstapp@nvidia.com> | 2021-09-29 15:19:21 +0200 |
---|---|---|
committer | Mark Stapp <mstapp@nvidia.com> | 2021-10-01 13:48:45 +0200 |
commit | edfee30d6406ac9a350e95657054ec067ced0f59 (patch) | |
tree | 089002899efa1383909e77dd2ed69e43f10fff79 /bgpd/bgp_route.h | |
parent | Merge pull request #9712 from idryzhov/travis-gprc (diff) | |
download | frr-edfee30d6406ac9a350e95657054ec067ced0f59.tar.xz frr-edfee30d6406ac9a350e95657054ec067ced0f59.zip |
bgpd: add some const
Add const to a couple of arguments in bgp_label utilities,
and in a show function.
Signed-off-by: Mark Stapp <mstapp@nvidia.com>
Diffstat (limited to 'bgpd/bgp_route.h')
-rw-r--r-- | bgpd/bgp_route.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.h b/bgpd/bgp_route.h index 7609f7196..86ba5f380 100644 --- a/bgpd/bgp_route.h +++ b/bgpd/bgp_route.h @@ -780,7 +780,7 @@ extern bool bgp_zebra_has_route_changed(struct bgp_path_info *selected); extern void route_vty_out_detail_header(struct vty *vty, struct bgp *bgp, struct bgp_dest *dest, - struct prefix_rd *prd, afi_t afi, + const struct prefix_rd *prd, afi_t afi, safi_t safi, json_object *json); extern void route_vty_out_detail(struct vty *vty, struct bgp *bgp, struct bgp_dest *bn, |