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_mroute.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_mroute.c')
-rw-r--r-- | sys/netinet6/ip6_mroute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index 1f6b5f2..5d5c065 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -1643,7 +1643,7 @@ pim6_input(mp, offp, proto) #endif rc = if_simloop(mif6table[reg_mif_num].m6_ifp, m, - (struct sockaddr *) &dst, NULL); + dst.sin6_family, NULL); /* prepare the register head to send to the mrouting daemon */ m = mcp; |