openbsd-ports/net/zebra/patches/patch-zebra_kernel_socket_c
robert aa57b150b7 We don't have RTM_OLDADD and RTM_OLDDEL caused by the SIOCADDRT
and SIOCDELRT (4.3BSD routing table) ioctls anymore.
So don't try to use them.

ok naddy@
2005-06-09 20:44:08 +00:00

17 lines
558 B
Plaintext

$OpenBSD: patch-zebra_kernel_socket_c,v 1.1 2005/06/09 20:44:08 robert Exp $
--- zebra/kernel_socket.c.orig Tue Jun 18 20:16:17 2002
+++ zebra/kernel_socket.c Thu Jun 9 14:01:36 2005
@@ -58,8 +58,12 @@
{RTM_REDIRECT, "RTM_REDIRECT"},
{RTM_MISS, "RTM_MISS"},
{RTM_LOCK, "RTM_LOCK"},
+#ifdef RTM_OLDADD
{RTM_OLDADD, "RTM_OLDADD"},
+#endif /* RTM_OLDADD */
+#ifdef RTM_OLDDEL
{RTM_OLDDEL, "RTM_OLDDEL"},
+#endif /* RTM_OLDDEL */
{RTM_RESOLVE, "RTM_RESOLVE"},
{RTM_NEWADDR, "RTM_NEWADDR"},
{RTM_DELADDR, "RTM_DELADDR"},