pimd: Convert to using an ifindex_t for the vif

Let's stay consistent in the data type for the vif index

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2019-01-25 12:05:33 -05:00
parent 04b6c83d56
commit 9981117a40

View File

@ -42,7 +42,7 @@ static struct static_route *static_route_alloc(void)
return XCALLOC(MTYPE_PIM_STATIC_ROUTE, sizeof(struct static_route)); return XCALLOC(MTYPE_PIM_STATIC_ROUTE, sizeof(struct static_route));
} }
static struct static_route *static_route_new(unsigned int iif, unsigned int oif, static struct static_route *static_route_new(ifindex_t iif, ifindex_t oif,
struct in_addr group, struct in_addr group,
struct in_addr source) struct in_addr source)
{ {