diff options
author | Paul Jakma <paul.jakma@hpe.com> | 2016-01-18 10:12:10 +0000 |
---|---|---|
committer | Paul Jakma <paul.jakma@hpe.com> | 2016-02-26 14:11:46 +0000 |
commit | 9099f9b2a66e86f8a90d7fe18f61bd2bb1bc6744 (patch) | |
tree | 1ce5d2e4ecff6b57eb00d40b1a91b3f363ff35fe /ospf6d/ospf6_asbr.h | |
parent | 954c7d6bcd04c2cf037965adda0f9d11afdcd165 (diff) | |
download | quagga-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.h')
-rw-r--r-- | ospf6d/ospf6_asbr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6_asbr.h b/ospf6d/ospf6_asbr.h index 73770cc0..f3df90b1 100644 --- a/ospf6d/ospf6_asbr.h +++ b/ospf6d/ospf6_asbr.h @@ -49,7 +49,7 @@ struct ospf6_external_info struct in6_addr forwarding; /* u_int32_t tag; */ - unsigned int ifindex; + ifindex_t ifindex; }; /* AS-External-LSA */ @@ -79,11 +79,11 @@ extern void ospf6_asbr_lsentry_add (struct ospf6_route *asbr_entry); extern void ospf6_asbr_lsentry_remove (struct ospf6_route *asbr_entry); extern int ospf6_asbr_is_asbr (struct ospf6 *o); -extern void ospf6_asbr_redistribute_add (int type, int ifindex, +extern void ospf6_asbr_redistribute_add (int type, ifindex_t ifindex, struct prefix *prefix, u_int nexthop_num, struct in6_addr *nexthop); -extern void ospf6_asbr_redistribute_remove (int type, int ifindex, +extern void ospf6_asbr_redistribute_remove (int type, ifindex_t ifindex, struct prefix *prefix); extern int ospf6_redistribute_config_write (struct vty *vty); |