Date: Mon, 8 Dec 2003 03:59:21 -0800 (PST) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet6 nd6.c Message-ID: <200312081159.hB8BxL4O068060@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ume 2003/12/08 03:59:21 PST
FreeBSD src repository
Modified files:
sys/netinet6 nd6.c
Log:
- changed the logic in nd6_is_addr_neighbor(); check on-link prefixes
(not interface addresses) to see if a given address is on-link.
- skip offlink prefixes in neighbor determination in nd6_is_addr_neighbor.
- in nd6_is_addr_neighbor, regarded every address as on-link when the
default router list is empty. otherwise, we'd not be able make a neighbor
cache for the address.
this algorithm is applied to hosts only.
- in nd6_is_addr_neighbor, check if the default interface is equal to
the interface in question in addition to check if the default router
list is empty.
Obtained from: KAME
Revision Changes Path
1.38 +24 -18 src/sys/netinet6/nd6.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312081159.hB8BxL4O068060>
