zebra: remove rt_ioctl kernel interface
None of the BSDs uses ioctls to set routes anymore.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Acked-by: Greg Troxel <gdt@ir.bbn.com>
Acked-by: Feng Lu <lu.feng@6wind.com>
Acked-by: Paul Jakma <paul@jakma.org>
diff --git a/configure.ac b/configure.ac
index ac7eccb..4465a08 100755
--- a/configure.ac
+++ b/configure.ac
@@ -792,36 +792,10 @@
RT_METHOD=rt_netlink.o
AC_DEFINE(HAVE_NETLINK,,netlink)
netlink=yes
-elif test x"$opsys" = x"sol2-6";then
- AC_MSG_RESULT(Route socket)
- KERNEL_METHOD="kernel_socket.o"
- RT_METHOD="rt_socket.o"
-elif test x"$opsys" = x"sol8";then
- AC_MSG_RESULT(Route socket)
- KERNEL_METHOD="kernel_socket.o"
- RT_METHOD="rt_socket.o"
else
- AC_TRY_RUN([#include <errno.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-
-main ()
-{
- int ac_sock;
-
- ac_sock = socket (AF_ROUTE, SOCK_RAW, 0);
- if (ac_sock < 0 && errno == EINVAL)
- exit (1);
- exit (0);
-}],
- [KERNEL_METHOD=kernel_socket.o
- RT_METHOD=rt_socket.o
- AC_MSG_RESULT(socket)],
- [RT_METHOD=rt_ioctl.o
- AC_MSG_RESULT(ioctl)],
- [KERNEL_METHOD=kernel_socket.o
- RT_METHOD=rt_socket.o
- AC_MSG_RESULT(socket)])
+ AC_MSG_RESULT(Route socket)
+ KERNEL_METHOD="kernel_socket.o"
+ RT_METHOD="rt_socket.o"
fi
AC_SUBST(RT_METHOD)
AC_SUBST(KERNEL_METHOD)