From 15e6a170cdfd269f180e0eb6168efda9bef44c1d Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Thu, 13 Apr 2000 14:11:18 +0000 Subject: 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. --- sys/netinet6/nd6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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; -- cgit v1.2.3