@@ -121,9 +121,9 @@ sockopt_impl!(Both, TcpNoDelay, consts::IPPROTO_TCP, consts::TCP_NODELAY, bool);
121121sockopt_impl ! ( Both , Linger , consts:: SOL_SOCKET , consts:: SO_LINGER , super :: linger) ;
122122sockopt_impl ! ( SetOnly , IpAddMembership , consts:: IPPROTO_IP , consts:: IP_ADD_MEMBERSHIP , super :: ip_mreq) ;
123123sockopt_impl ! ( SetOnly , IpDropMembership , consts:: IPPROTO_IP , consts:: IP_DROP_MEMBERSHIP , super :: ip_mreq) ;
124- #[ cfg( not( any( target_os = "macos" , target_os = "ios" , target_os = "netbsd" , target_os = "dragonfly" ) ) ) ]
124+ #[ cfg( not( any( target_os = "macos" , target_os = "ios" , target_os = "netbsd" , target_os = "dragonfly" , target_os = "freebsd" ) ) ) ]
125125sockopt_impl ! ( SetOnly , Ipv6AddMembership , consts:: IPPROTO_IPV6 , consts:: IPV6_ADD_MEMBERSHIP , super :: ipv6_mreq) ;
126- #[ cfg( not( any( target_os = "macos" , target_os = "ios" , target_os = "netbsd" , target_os = "dragonfly" ) ) ) ]
126+ #[ cfg( not( any( target_os = "macos" , target_os = "ios" , target_os = "netbsd" , target_os = "dragonfly" , target_os = "freebsd" ) ) ) ]
127127sockopt_impl ! ( SetOnly , Ipv6DropMembership , consts:: IPPROTO_IPV6 , consts:: IPV6_DROP_MEMBERSHIP , super :: ipv6_mreq) ;
128128#[ cfg( target_os = "netbsd" ) ]
129129sockopt_impl ! ( SetOnly , Ipv6AddMembership , consts:: IPPROTO_IPV6 , consts:: IPV6_JOIN_GROUP , super :: ipv6_mreq) ;
0 commit comments