From 9099f9b2a66e86f8a90d7fe18f61bd2bb1bc6744 Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Mon, 18 Jan 2016 10:12:10 +0000 Subject: *: use an ifindex_t type, defined in lib/if.h, for ifindex values --- zebra/rt_netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra/rt_netlink.c') diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index b164c7ac..2539d614 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -69,7 +69,7 @@ extern u_int32_t nl_rcvbufsize; /* Note: on netlink systems, there should be a 1-to-1 mapping between interface names and ifindex values. */ static void -set_ifindex(struct interface *ifp, unsigned int ifi_index) +set_ifindex(struct interface *ifp, ifindex_t ifi_index) { struct interface *oifp; -- cgit v1.2.3