diff options
author | jhay <jhay@FreeBSD.org> | 2006-09-30 20:25:33 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 2006-09-30 20:25:33 +0000 |
commit | d911786867acfb3fafc3ec9756e5f870ed062af9 (patch) | |
tree | 1d0554094bb0b2e63e60ad38b3933334baa375bf | |
parent | 4b49dc3738297ab15655adab16cdd4e484a35dd0 (diff) | |
download | FreeBSD-src-d911786867acfb3fafc3ec9756e5f870ed062af9.zip FreeBSD-src-d911786867acfb3fafc3ec9756e5f870ed062af9.tar.gz |
A better fix is to check if it is a host route.
Submitted by: ume
MFC after: 5 days
-rw-r--r-- | sys/netinet6/nd6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index b2e1078..fa5f373 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -1391,7 +1391,7 @@ nd6_rtrequest(req, rt, info) } } } else if (req == RTM_ADD && SDL(gate)->sdl_alen == 0 && - (ifp->if_flags & (IFF_POINTOPOINT | IFF_LOOPBACK)) == 0) { + (rt->rt_flags & RTF_HOST) != 0) { ln->ln_state = ND6_LLINFO_INCOMPLETE; } break; |