aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6_nbr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/nd6_nbr.c')
-rw-r--r--sys/netinet6/nd6_nbr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c
index eee0113fbba9..809c5dc113a4 100644
--- a/sys/netinet6/nd6_nbr.c
+++ b/sys/netinet6/nd6_nbr.c
@@ -719,7 +719,7 @@ nd6_na_input(struct mbuf *m, int off, int icmp6len)
ln->ln_byhint = 0;
if (!ND6_LLINFO_PERMANENT(ln)) {
nd6_llinfo_settimer_locked(ln,
- (long)ND_IFINFO(ln->lle_tbl->llt_ifp)->reachable * hz);
+ (long)ND_IFINFO(ifp)->reachable * hz);
}
} else {
ln->ln_state = ND6_LLINFO_STALE;
@@ -831,10 +831,10 @@ nd6_na_input(struct mbuf *m, int off, int icmp6len)
* is only called under the network software interrupt
* context. However, we keep it just for safety.
*/
- dr = defrouter_lookup(in6, ln->lle_tbl->llt_ifp);
+ dr = defrouter_lookup(in6, ifp);
if (dr)
defrtrlist_del(dr);
- else if (ND_IFINFO(ln->lle_tbl->llt_ifp)->flags &
+ else if (ND_IFINFO(ifp)->flags &
ND6_IFF_ACCEPT_RTADV) {
/*
* Even if the neighbor is not in the default