From a1ac18c4d5b4f8f4f279efb2ae12b46258f22282 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 28 Jun 2005 17:17:12 +0000 Subject: 2005-06-28 Paul Jakma * (global) Extern and static'ification, with related fixups of declarations, ensuring files include their own headers, etc. if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in list loop --- zebra/connected.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'zebra/connected.c') diff --git a/zebra/connected.c b/zebra/connected.c index 3ce59530..46d2aab9 100644 --- a/zebra/connected.c +++ b/zebra/connected.c @@ -33,6 +33,7 @@ #include "zebra/zserv.h" #include "zebra/redistribute.h" #include "zebra/interface.h" +#include "zebra/connected.h" /* If same interface address is already exist... */ struct connected * @@ -88,7 +89,7 @@ connected_up_ipv4 (struct interface *ifp, struct connected *ifc) /* Add connected IPv4 route to the interface. */ void connected_add_ipv4 (struct interface *ifp, int flags, struct in_addr *addr, - int prefixlen, struct in_addr *broad, char *label) + u_char prefixlen, struct in_addr *broad, char *label) { struct prefix_ipv4 *p; struct connected *ifc; @@ -226,7 +227,7 @@ connected_down_ipv4 (struct interface *ifp, struct connected *ifc) /* Delete connected IPv4 route to the interface. */ void connected_delete_ipv4 (struct interface *ifp, int flags, struct in_addr *addr, - int prefixlen, struct in_addr *broad, char *label) + u_char prefixlen, struct in_addr *broad, char *label) { struct prefix_ipv4 p; struct connected *ifc; -- cgit v1.2.1