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/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 9a8f1d6..117401c 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c
@@ -2125,7 +2125,7 @@ int ret; struct ip *iph; u_int16_t ip_len; - unsigned int ifindex = 0; + ifindex_t ifindex = 0; struct iovec iov; /* Header and data both require alignment. */ char buff [CMSG_SPACE(SOPT_SIZE_CMSG_IFINDEX_IPV4())];