summaryrefslogtreecommitdiff
path: root/zebra/ioctl.h
diff options
context:
space:
mode:
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 */