From 5b73a671aac22a75cc90657aa4a924d199f2284b Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 23 Jul 2004 15:26:14 +0000 Subject: 2004-07-23 Sowmini Varadhan * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups * zserv.c: ditto * ioctl_solaris.c: ditto. * interface.c: cast for LLADDR * interface.h: Add guards, include redistribute.h and remove extraneous definitions of zebra_interface_{up,down}_update * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6 * redistribute.h: include dependent header, zserv.h * zserv.h: include dependent header, rib.h --- zebra/ioctl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zebra/ioctl.h') diff --git a/zebra/ioctl.h b/zebra/ioctl.h index eadc69a0..a82c3125 100644 --- a/zebra/ioctl.h +++ b/zebra/ioctl.h @@ -49,6 +49,10 @@ struct connected *if_lookup_linklocal( struct interface *); #define AF_IOCTL(af, request, buffer) \ ((af) == AF_INET? if_ioctl(request, buffer) : \ if_ioctl_ipv6(request, buffer)) +#else /* SOLARIS_IPV6 */ + +#define AF_IOCTL(af, request, buffer) if_ioctl(request, buffer) + #endif /* SOLARIS_IPV6 */ #endif /* _ZEBRA_IOCTL_H */ -- cgit v1.2.1