diff options
author | Mark Stapp <mjs@voltanet.io> | 2018-07-10 22:02:03 +0200 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2018-07-11 15:22:49 +0200 |
commit | 86391e565937db3c4d08436ffa0edaa02ace50eb (patch) | |
tree | df5f0971da7b96ccf3d003b63cf8c23968f307e7 /zebra/zebra_routemap.h | |
parent | Merge pull request #2651 from qlyoung/doc-cleanup-release-process (diff) | |
download | frr-86391e565937db3c4d08436ffa0edaa02ace50eb.tar.xz frr-86391e565937db3c4d08436ffa0edaa02ace50eb.zip |
zebra, libs: use const prefix ptrs in apis
Add 'const' to prefix args to several zebra route update,
redistribution, and route owner notification apis.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_routemap.h')
-rw-r--r-- | zebra/zebra_routemap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_routemap.h b/zebra/zebra_routemap.h index 20d425a2b..688c8b720 100644 --- a/zebra/zebra_routemap.h +++ b/zebra/zebra_routemap.h @@ -40,7 +40,7 @@ zebra_import_table_route_map_check(int family, int rib_type, uint8_t instance, const char *rmap_name); extern route_map_result_t zebra_route_map_check(int family, int rib_type, uint8_t instance, - struct prefix *p, struct nexthop *nexthop, + const struct prefix *p, struct nexthop *nexthop, vrf_id_t vrf_id, route_tag_t tag); extern route_map_result_t zebra_nht_route_map_check(int family, int client_proto, struct prefix *p, |