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@
This commit is contained in:
robert 2005-06-09 20:44:08 +00:00
parent 8820791284
commit aa57b150b7
2 changed files with 18 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.28 2004/12/16 00:31:27 alek Exp $
# $OpenBSD: Makefile,v 1.29 2005/06/09 20:44:08 robert Exp $
# KAME Id: Makefile,v 1.5 1999/09/13 16:27:41 itojun Exp
# Originally by: peter.galbavy@knowledge.com
COMMENT= "multi-threaded routing daemon"
DISTNAME= zebra-0.93a
PKGNAME= ${DISTNAME}p2
PKGNAME= ${DISTNAME}p3
CATEGORIES= net
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \
ftp://ftp.knowledge.com/pub/mirrors/zebra/ \

View File

@ -0,0 +1,16 @@
$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"},