diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-05-26 21:56:42 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-05-26 21:56:42 +0000 |
commit | ff77e72cf79f6d08aed38bb26071d2dc5f970f93 (patch) | |
tree | f1293de224c6c60db28ba7d9fcd5eaca74156216 /usr.sbin/route6d/route6d.c | |
parent | f051f973747f726bbfef08b285cf15a832210342 (diff) |
remove RTM_OLDADD/_OLDDEL traces (that lead to an "unspported" message anyway)
Diffstat (limited to 'usr.sbin/route6d/route6d.c')
-rw-r--r-- | usr.sbin/route6d/route6d.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c index 66a5726b5e7..dd4a761d105 100644 --- a/usr.sbin/route6d/route6d.c +++ b/usr.sbin/route6d/route6d.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route6d.c,v 1.41 2004/08/01 18:32:20 deraadt Exp $ */ +/* $OpenBSD: route6d.c,v 1.42 2005/05/26 21:56:41 henning Exp $ */ /* $KAME: route6d.c,v 1.94 2002/10/26 20:08:55 itojun Exp $ */ /* @@ -31,7 +31,7 @@ */ #if 0 -static char _rcsid[] = "$OpenBSD: route6d.c,v 1.41 2004/08/01 18:32:20 deraadt Exp $"; +static char _rcsid[] = "$OpenBSD: route6d.c,v 1.42 2005/05/26 21:56:41 henning Exp $"; #endif #include <stdio.h> @@ -1734,10 +1734,6 @@ rtrecv(void) if (!rt_deladdr(ifcp, rta[RTAX_IFA], rta[RTAX_NETMASK])) iface++; break; - case RTM_OLDADD: - case RTM_OLDDEL: - trace(1, "\tnot supported yet, ignored\n"); - break; } } @@ -2319,18 +2315,10 @@ do { \ RTTYPE("REDIRECT", RTM_REDIRECT); RTTYPE("MISS", RTM_MISS); RTTYPE("LOCK", RTM_LOCK); - RTTYPE("OLDADD", RTM_OLDADD); - RTTYPE("OLDDEL", RTM_OLDDEL); RTTYPE("RESOLVE", RTM_RESOLVE); RTTYPE("NEWADDR", RTM_NEWADDR); RTTYPE("DELADDR", RTM_DELADDR); RTTYPE("IFINFO", RTM_IFINFO); -#ifdef RTM_OLDADD - RTTYPE("OLDADD", RTM_OLDADD); -#endif -#ifdef RTM_OLDDEL - RTTYPE("OLDDEL", RTM_OLDDEL); -#endif #ifdef RTM_OIFINFO RTTYPE("OIFINFO", RTM_OIFINFO); #endif |