summaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6_rtr.c
diff options
context:
space:
mode:
authorJolan Luff <jolan@cvs.openbsd.org>2005-11-29 02:59:43 +0000
committerJolan Luff <jolan@cvs.openbsd.org>2005-11-29 02:59:43 +0000
commitadb4778804adba0245306281be53c4c3659bcb68 (patch)
treed19d9d4f1abd87230c6e6dfacb8381d75ec903f0 /sys/netinet6/nd6_rtr.c
parent1095458dcf6143c8e7dd908e945fc791eee652d8 (diff)
something in the eurobsdcon route-a-thon broke my simple home network
router so back out the routing stuff to pre-eurobsdcon where my machine doesn't crash immediately. i am happy to test diffs and report success/failures but i am not happy to have instantaneous crashes when i reboot with a new kernel that was compiled from pristine sources. if you are going to be an elitist asshole then you could at least make sure your code works. ok and "be crass towards them" deraadt@
Diffstat (limited to 'sys/netinet6/nd6_rtr.c')
-rw-r--r--sys/netinet6/nd6_rtr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c
index 4bbd7e1dc03..30a39d7b299 100644
--- a/sys/netinet6/nd6_rtr.c
+++ b/sys/netinet6/nd6_rtr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6_rtr.c,v 1.34 2005/11/27 16:22:45 henning Exp $ */
+/* $OpenBSD: nd6_rtr.c,v 1.35 2005/11/29 02:59:42 jolan Exp $ */
/* $KAME: nd6_rtr.c,v 1.97 2001/02/07 11:09:13 itojun Exp $ */
/*
@@ -1789,7 +1789,7 @@ rt6_flush(gateway, ifp)
struct in6_addr *gateway;
struct ifnet *ifp;
{
- struct radix_node_head *rnh = rt_gettable(AF_INET6, 0);
+ struct radix_node_head *rnh = rt_tables[AF_INET6];
int s = splsoftnet();
/* We'll care only link-local addresses */