mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 06:14:35 +00:00
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>
This commit is contained in:
parent
5898ce6f35
commit
f5b7e50f9a
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user