Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 remove duplicate. masanori kanaoka
details: https://anonhg.NetBSD.org/src/rev/3416b9237e66
branches: trunk
changeset: 547266:3416b9237e66
user: itojun <itojun%NetBSD.org@localhost>
date: Fri May 16 02:53:28 2003 +0000
description:
remove duplicate. masanori kanaoka
diffstat:
sys/netinet6/nd6_rtr.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (33 lines):
diff -r b41d79ad67a0 -r 3416b9237e66 sys/netinet6/nd6_rtr.c
--- a/sys/netinet6/nd6_rtr.c Fri May 16 01:26:17 2003 +0000
+++ b/sys/netinet6/nd6_rtr.c Fri May 16 02:53:28 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6_rtr.c,v 1.39 2003/05/15 14:57:58 itojun Exp $ */
+/* $NetBSD: nd6_rtr.c,v 1.40 2003/05/16 02:53:28 itojun Exp $ */
/* $KAME: nd6_rtr.c,v 1.95 2001/02/07 08:09:47 itojun Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6_rtr.c,v 1.39 2003/05/15 14:57:58 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6_rtr.c,v 1.40 2003/05/16 02:53:28 itojun Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1974,14 +1974,6 @@
return (0);
/*
- * Do not delete a static route.
- * XXX: this seems to be a bit ad-hoc. Should we consider the
- * 'cloned' bit instead?
- */
- if ((rt->rt_flags & RTF_STATIC) != 0)
- return (0);
-
- /*
* We delete only host route. This means, in particular, we don't
* delete default route.
*/
Home |
Main Index |
Thread Index |
Old Index