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 --- ospfd/ospf_network.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ospfd/ospf_network.h') diff --git a/ospfd/ospf_network.h b/ospfd/ospf_network.h index e0a5c69d..8257adb4 100644 --- a/ospfd/ospf_network.h +++ b/ospfd/ospf_network.h @@ -25,14 +25,14 @@ /* Prototypes. */ extern int ospf_if_add_allspfrouters (struct ospf *, struct prefix *, - unsigned int); + ifindex_t); extern int ospf_if_drop_allspfrouters (struct ospf *, struct prefix *, - unsigned int); + ifindex_t); extern int ospf_if_add_alldrouters (struct ospf *, struct prefix *, - unsigned int); + ifindex_t); extern int ospf_if_drop_alldrouters (struct ospf *, struct prefix *, - unsigned int); -extern int ospf_if_ipmulticast (struct ospf *, struct prefix *, unsigned int); + ifindex_t); +extern int ospf_if_ipmulticast (struct ospf *, struct prefix *, ifindex_t); extern int ospf_sock_init (void); extern void ospf_adjust_sndbuflen (struct ospf *, unsigned int); -- cgit v1.2.3