diff options
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/nd6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 636939c1fed..06110793d2a 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6.c,v 1.36 2001/06/27 17:51:39 itojun Exp $ */ +/* $OpenBSD: nd6.c,v 1.37 2001/06/29 16:10:36 itojun Exp $ */ /* $KAME: nd6.c,v 1.151 2001/06/19 14:24:41 sumikawa Exp $ */ /* @@ -1759,7 +1759,7 @@ fail: * we can compromise the overhead, since it only happens the first * time. */ - if (do_update && ln->ln_router) + if (do_update && ln->ln_router && !ip6_forwarding && ip6_accept_rtadv) defrouter_select(); return rt; |