summaryrefslogtreecommitdiff
path: root/zebra/ioctl.h
diff options
context:
space:
mode:
authorpaul <paul>2004-07-23 15:26:14 +0000
committerpaul <paul>2004-07-23 15:26:14 +0000
commit5b73a671aac22a75cc90657aa4a924d199f2284b (patch)
tree8716d34430c239cb994ba286db18efb24eb09319 /zebra/ioctl.h
parent1470bafb7aa179dad7dc4bdc998d68c14752f824 (diff)
2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
* 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
Diffstat (limited to 'zebra/ioctl.h')
-rw-r--r--zebra/ioctl.h4
1 files changed, 4 insertions, 0 deletions
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 */