summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/zebra_nhg.c2
-rw-r--r--zebra/zebra_routemap.c2
-rw-r--r--zebra/zebra_routemap.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c
index 0a692feb35..ff020af4d6 100644
--- a/zebra/zebra_nhg.c
+++ b/zebra/zebra_nhg.c
@@ -2119,7 +2119,7 @@ static unsigned nexthop_active_check(struct route_node *rn,
{
struct interface *ifp;
route_map_result_t ret = RMAP_PERMITMATCH;
- int family;
+ afi_t family;
const struct prefix *p, *src_p;
struct zebra_vrf *zvrf;
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)
{
diff --git a/zebra/zebra_routemap.h b/zebra/zebra_routemap.h
index 251e07af72..c016d95875 100644
--- a/zebra/zebra_routemap.h
+++ b/zebra/zebra_routemap.h
@@ -42,7 +42,7 @@ zebra_import_table_route_map_check(int family, int rib_type, uint8_t instance,
struct nexthop *nexthop, vrf_id_t vrf_id,
route_tag_t tag, const char *rmap_name);
extern 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);
extern route_map_result_t