A better fix is to check if it is a host route.

Submitted by:	ume
MFC after:	5 days
This commit is contained in:
John Hay 2006-09-30 20:25:33 +00:00
parent 04876cf3eb
commit 584b68e792
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162899

View File

@ -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;