summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_asbr.c
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@hpe.com>2016-01-18 10:12:10 +0000
committerPaul Jakma <paul.jakma@hpe.com>2016-02-26 14:11:46 +0000
commit9099f9b2a66e86f8a90d7fe18f61bd2bb1bc6744 (patch)
tree1ce5d2e4ecff6b57eb00d40b1a91b3f363ff35fe /ospf6d/ospf6_asbr.c
parent954c7d6bcd04c2cf037965adda0f9d11afdcd165 (diff)
downloadquagga-9099f9b2a66e86f8a90d7fe18f61bd2bb1bc6744.tar.bz2
quagga-9099f9b2a66e86f8a90d7fe18f61bd2bb1bc6744.tar.xz
*: use an ifindex_t type, defined in lib/if.h, for ifindex values
Diffstat (limited to 'ospf6d/ospf6_asbr.c')
-rw-r--r--ospf6d/ospf6_asbr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c
index b1620d4a..6eca142d 100644
--- a/ospf6d/ospf6_asbr.c
+++ b/ospf6d/ospf6_asbr.c
@@ -411,7 +411,7 @@ ospf6_asbr_redistribute_unset (int type)
}
void
-ospf6_asbr_redistribute_add (int type, int ifindex, struct prefix *prefix,
+ospf6_asbr_redistribute_add (int type, ifindex_t ifindex, struct prefix *prefix,
u_int nexthop_num, struct in6_addr *nexthop)
{
int ret;
@@ -557,7 +557,8 @@ ospf6_asbr_redistribute_add (int type, int ifindex, struct prefix *prefix,
}
void
-ospf6_asbr_redistribute_remove (int type, int ifindex, struct prefix *prefix)
+ospf6_asbr_redistribute_remove (int type, ifindex_t ifindex,
+ struct prefix *prefix)
{
struct ospf6_route *match;
struct ospf6_external_info *info = NULL;