summaryrefslogtreecommitdiff
path: root/zebra/zebra_routemap.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-01-11 13:53:42 -0500
committerMark Stapp <mjs@voltanet.io>2021-01-21 10:13:57 -0500
commitf5b7e50f9a5d33a04ecf040dddbd6b05ae9dfda5 (patch)
tree687c580cf1a8901030993dbd3cd2b729189f47b9 /zebra/zebra_routemap.c
parent5898ce6f35e1a2fa58fcae1dea5fb1eb808d44cf (diff)
zebra: use afi_t for route-map address family arg
Use afi_t in the route_map_check api Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_routemap.c')
-rw-r--r--zebra/zebra_routemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c
index bbc8b6f19d..858f29ce9c 100644
--- a/zebra/zebra_routemap.c
+++ b/zebra/zebra_routemap.c
@@ -1669,7 +1669,7 @@ void zebra_routemap_finish(void)
}
route_map_result_t
-zebra_route_map_check(int family, int rib_type, uint8_t instance,
+zebra_route_map_check(afi_t family, int rib_type, uint8_t instance,
const struct prefix *p, struct nexthop *nexthop,
struct zebra_vrf *zvrf, route_tag_t tag)
{