summaryrefslogtreecommitdiffstats
path: root/sys/net/if_ethersubr.c
diff options
context:
space:
mode:
authorqingli <qingli@FreeBSD.org>2008-12-17 10:27:34 +0000
committerqingli <qingli@FreeBSD.org>2008-12-17 10:27:34 +0000
commitc6b6112234d9fd15460159f1560cb05e040ab315 (patch)
tree24fecd34d6b44c0c39eaa86bffd6022436256ebf /sys/net/if_ethersubr.c
parent3bfc2293f206bd8d4ae763d541e3355bd3abf983 (diff)
downloadFreeBSD-src-c6b6112234d9fd15460159f1560cb05e040ab315.zip
FreeBSD-src-c6b6112234d9fd15460159f1560cb05e040ab315.tar.gz
Remove the rt argument from nd6_storelladdr() because
rt is no longer accessed.
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r--sys/net/if_ethersubr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index e5978c6..73a08dd 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -225,7 +225,7 @@ ether_output(struct ifnet *ifp, struct mbuf *m,
#endif
#ifdef INET6
case AF_INET6:
- error = nd6_storelladdr(ifp, rt0, m, dst, (u_char *)edst, &lle);
+ error = nd6_storelladdr(ifp, m, dst, (u_char *)edst, &lle);
if (error)
return error;
type = htons(ETHERTYPE_IPV6);
OpenPOWER on IntegriCloud