diff options
author | bz <bz@FreeBSD.org> | 2011-11-13 02:32:10 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2011-11-13 02:32:10 +0000 |
commit | 2c9fd688ffe7082186ee2e70a137bda8fc4413c0 (patch) | |
tree | 9c84ac6bfdd738bd9e75c657becb4219ca622636 /sys/netinet6/in6_mcast.c | |
parent | 6a06df7aba51aa863542522b442d7347b26b2f3a (diff) | |
download | FreeBSD-src-2c9fd688ffe7082186ee2e70a137bda8fc4413c0.zip FreeBSD-src-2c9fd688ffe7082186ee2e70a137bda8fc4413c0.tar.gz |
Return the correct value for the IPV6_MULTICAST_HOPS getsockopt() call.
Submitted by: rpaulo
MFC after: 3 days
Diffstat (limited to 'sys/netinet6/in6_mcast.c')
-rw-r--r-- | sys/netinet6/in6_mcast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/in6_mcast.c b/sys/netinet6/in6_mcast.c index 546203b..a1f233a 100644 --- a/sys/netinet6/in6_mcast.c +++ b/sys/netinet6/in6_mcast.c @@ -1714,7 +1714,7 @@ ip6_getmoptions(struct inpcb *inp, struct sockopt *sopt) if (im6o == NULL) optval = V_ip6_defmcasthlim; else - optval = im6o->im6o_multicast_loop; + optval = im6o->im6o_multicast_hlim; INP_WUNLOCK(inp); error = sooptcopyout(sopt, &optval, sizeof(u_int)); break; |