diff options
author | luigi <luigi@FreeBSD.org> | 2004-04-19 08:02:52 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2004-04-19 08:02:52 +0000 |
commit | 610287ce038ced199cd28b684cc69eeba9f1216a (patch) | |
tree | 9a5bc717a2b85dcd53cd910b54c6219bae11f001 /sys/netinet6 | |
parent | f5a30e015362f2988199b0cb3f138eee52e6b8b4 (diff) | |
download | FreeBSD-src-610287ce038ced199cd28b684cc69eeba9f1216a.zip FreeBSD-src-610287ce038ced199cd28b684cc69eeba9f1216a.tar.gz |
ifp has the same value as rt->rti_ifp so remove the dependency
on the route entry to locate the necessary information.
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/nd6_nbr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c index e8440a0..6fd7b25 100644 --- a/sys/netinet6/nd6_nbr.c +++ b/sys/netinet6/nd6_nbr.c @@ -744,7 +744,7 @@ nd6_na_input(m, off, icmp6len) * context. However, we keep it just for safety. */ s = splnet(); - dr = defrouter_lookup(in6, rt->rt_ifp); + dr = defrouter_lookup(in6, ifp); if (dr) defrtrlist_del(dr); else if (!ip6_forwarding && ip6_accept_rtadv) { @@ -755,7 +755,7 @@ nd6_na_input(m, off, icmp6len) * (e.g. redirect case). So we must * call rt6_flush explicitly. */ - rt6_flush(&ip6->ip6_src, rt->rt_ifp); + rt6_flush(&ip6->ip6_src, ifp); } splx(s); } |