summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-04-13 14:11:18 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-04-13 14:11:18 +0000
commit15e6a170cdfd269f180e0eb6168efda9bef44c1d (patch)
treeca021d9a0a2e84a68143bd40cc0d5afcd68ac0e7 /sys/netinet6
parentf4e35c66b77476a04ed5a7f2545fe613e79c814a (diff)
even if nd6_nud_hint is called, do not change a neighbor's status
unless the old status is probably reachable (i.e. the link-layer address has already been resolved). KAME PR 235.
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/nd6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index c2dc4952c7f..c2def8c65ea 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6.c,v 1.7 2000/02/28 11:55:22 itojun Exp $ */
+/* $OpenBSD: nd6.c,v 1.8 2000/04/13 14:11:17 itojun Exp $ */
/* $KAME: nd6.c,v 1.41 2000/02/24 16:34:50 itojun Exp $ */
/*
@@ -872,7 +872,7 @@ nd6_nud_hint(rt, dst6)
}
ln = (struct llinfo_nd6 *)rt->rt_llinfo;
- if (ln->ln_state == ND6_LLINFO_INCOMPLETE)
+ if (ln->ln_state < ND6_LLINFO_REACHABLE)
return;
ln->ln_state = ND6_LLINFO_REACHABLE;