@@ -121,9 +121,9 @@ sockopt_impl!(Both, TcpNoDelay, consts::IPPROTO_TCP, consts::TCP_NODELAY, bool);
121
121
sockopt_impl ! ( Both , Linger , consts:: SOL_SOCKET , consts:: SO_LINGER , super :: linger) ;
122
122
sockopt_impl ! ( SetOnly , IpAddMembership , consts:: IPPROTO_IP , consts:: IP_ADD_MEMBERSHIP , super :: ip_mreq) ;
123
123
sockopt_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" ) ) ) ]
125
125
sockopt_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" ) ) ) ]
127
127
sockopt_impl ! ( SetOnly , Ipv6DropMembership , consts:: IPPROTO_IPV6 , consts:: IPV6_DROP_MEMBERSHIP , super :: ipv6_mreq) ;
128
128
#[ cfg( target_os = "netbsd" ) ]
129
129
sockopt_impl ! ( SetOnly , Ipv6AddMembership , consts:: IPPROTO_IPV6 , consts:: IPV6_JOIN_GROUP , super :: ipv6_mreq) ;
0 commit comments