commit | 9099f9b2a66e86f8a90d7fe18f61bd2bb1bc6744 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul.jakma@hpe.com> | Mon Jan 18 10:12:10 2016 +0000 |
committer | Paul Jakma <paul.jakma@hpe.com> | Fri Feb 26 14:11:46 2016 +0000 |
tree | 1ce5d2e4ecff6b57eb00d40b1a91b3f363ff35fe | |
parent | 954c7d6bcd04c2cf037965adda0f9d11afdcd165 [diff] [blame] |
*: use an ifindex_t type, defined in lib/if.h, for ifindex values
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index b164c7a..2539d61 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c
@@ -69,7 +69,7 @@ /* 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;