diff options
author | archie <archie@FreeBSD.org> | 2000-05-24 21:16:56 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-05-24 21:16:56 +0000 |
commit | 4ba625d0ce34b70f741bf77f6ca791a411865fc2 (patch) | |
tree | bec62c6969696c63921532d9b3a3497c93705c93 /sys/netinet6/ip6_output.c | |
parent | 600aec722a18eebcec87ca2b60dab5ae68e6f60e (diff) | |
download | FreeBSD-src-4ba625d0ce34b70f741bf77f6ca791a411865fc2.zip FreeBSD-src-4ba625d0ce34b70f741bf77f6ca791a411865fc2.tar.gz |
Just need to pass the address family to if_simloop(), not the whole sockaddr.
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-rw-r--r-- | sys/netinet6/ip6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index c7d0499..eb0474f 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -2124,7 +2124,7 @@ ip6_mloopback(ifp, m, dst) copym = m_copy(m, 0, M_COPYALL); if (copym != NULL) { - (void)if_simloop(ifp, copym, (struct sockaddr *)dst, 0); + (void)if_simloop(ifp, copym, dst->sin6_family, 0); } } |