diff options
author | suz <suz@FreeBSD.org> | 2005-10-19 17:18:49 +0000 |
---|---|---|
committer | suz <suz@FreeBSD.org> | 2005-10-19 17:18:49 +0000 |
commit | 69d53f996712bcf25b15d22d498614a1d971b355 (patch) | |
tree | a679457015bf75c1caaf0c1d01ab3aef5adb65fb /sys/netinet6/nd6.c | |
parent | 412574c368a6010d6db88d9a3d0275ae74a2047e (diff) | |
download | FreeBSD-src-69d53f996712bcf25b15d22d498614a1d971b355.zip FreeBSD-src-69d53f996712bcf25b15d22d498614a1d971b355.tar.gz |
sync with KAME (nuked unused code, use NULL to denote a NULL pointer)
Obtained from: KAME
Reviewed by: ume, gnn
Diffstat (limited to 'sys/netinet6/nd6.c')
-rw-r--r-- | sys/netinet6/nd6.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 93186a5..eaa3319 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -1182,15 +1182,6 @@ nd6_rtrequest(req, rt, info) * (or should we allow proxy ND configuration only for * routers? there's no mention about proxy ND from hosts) */ -#if 0 - /* XXX it does not work */ - if (rt->rt_flags & RTF_ANNOUNCE) - nd6_na_output(ifp, - &SIN6(rt_key(rt))->sin6_addr, - &SIN6(rt_key(rt))->sin6_addr, - ip6_forwarding ? ND_NA_FLAG_ROUTER : 0, - 1, NULL); -#endif /* FALLTHROUGH */ case RTM_RESOLVE: if ((ifp->if_flags & (IFF_POINTOPOINT | IFF_LOOPBACK)) == 0) { @@ -1609,12 +1600,6 @@ nd6_cache_lladdr(ifp, from, lladdr, lladdrlen, type, code) rt = nd6_lookup(from, 0, ifp); if (rt == NULL) { -#if 0 - /* nothing must be done if there's no lladdr */ - if (!lladdr || !lladdrlen) - return NULL; -#endif - rt = nd6_lookup(from, 1, ifp); is_newentry = 1; } else { |