@@ -125,9 +125,9 @@ sockopt_impl!(SetOnly, IpDropMembership, consts::IPPROTO_IP, consts::IP_DROP_MEM
125
125
sockopt_impl ! ( SetOnly , Ipv6AddMembership , consts:: IPPROTO_IPV6 , consts:: IPV6_ADD_MEMBERSHIP , super :: ipv6_mreq) ;
126
126
#[ cfg( not( any( target_os = "macos" , target_os = "ios" , target_os = "netbsd" , target_os = "dragonfly" , target_os = "freebsd" ) ) ) ]
127
127
sockopt_impl ! ( SetOnly , Ipv6DropMembership , consts:: IPPROTO_IPV6 , consts:: IPV6_DROP_MEMBERSHIP , super :: ipv6_mreq) ;
128
- #[ cfg( target_os = "netbsd" ) ]
128
+ #[ cfg( any ( target_os = "macos" , target_os = "ios" , target_os = " netbsd", target_os = "dragonfly" , target_os = "freebsd" ) ) ]
129
129
sockopt_impl ! ( SetOnly , Ipv6AddMembership , consts:: IPPROTO_IPV6 , consts:: IPV6_JOIN_GROUP , super :: ipv6_mreq) ;
130
- #[ cfg( target_os = "netbsd" ) ]
130
+ #[ cfg( any ( target_os = "macos" , target_os = "ios" , target_os = " netbsd", target_os = "dragonfly" , target_os = "freebsd" ) ) ]
131
131
sockopt_impl ! ( SetOnly , Ipv6DropMembership , consts:: IPPROTO_IPV6 , consts:: IPV6_LEAVE_GROUP , super :: ipv6_mreq) ;
132
132
sockopt_impl ! ( Both , IpMulticastTtl , consts:: IPPROTO_IP , consts:: IP_MULTICAST_TTL , u8 ) ;
133
133
sockopt_impl ! ( Both , IpMulticastLoop , consts:: IPPROTO_IP , consts:: IP_MULTICAST_LOOP , bool ) ;
0 commit comments