@@ -27,19 +27,19 @@ use time::Duration;
27
27
28
28
#[ cfg( any( target_os = "dragonfly" , target_os = "freebsd" ,
29
29
target_os = "ios" , target_os = "macos" ,
30
- target_os = "openbsd" ) ) ]
30
+ target_os = "openbsd" , target_os = "netbsd" ) ) ]
31
31
use sys:: net:: netc:: IPV6_JOIN_GROUP as IPV6_ADD_MEMBERSHIP ;
32
32
#[ cfg( not( any( target_os = "dragonfly" , target_os = "freebsd" ,
33
33
target_os = "ios" , target_os = "macos" ,
34
- target_os = "openbsd " ) ) ) ]
34
+ target_os = "openbsd" , target_os = "netbsd " ) ) ) ]
35
35
use sys:: net:: netc:: IPV6_ADD_MEMBERSHIP ;
36
36
#[ cfg( any( target_os = "dragonfly" , target_os = "freebsd" ,
37
37
target_os = "ios" , target_os = "macos" ,
38
- target_os = "openbsd" ) ) ]
38
+ target_os = "openbsd" , target_os = "netbsd" ) ) ]
39
39
use sys:: net:: netc:: IPV6_LEAVE_GROUP as IPV6_DROP_MEMBERSHIP ;
40
40
#[ cfg( not( any( target_os = "dragonfly" , target_os = "freebsd" ,
41
41
target_os = "ios" , target_os = "macos" ,
42
- target_os = "openbsd " ) ) ) ]
42
+ target_os = "openbsd" , target_os = "netbsd " ) ) ) ]
43
43
use sys:: net:: netc:: IPV6_DROP_MEMBERSHIP ;
44
44
45
45
////////////////////////////////////////////////////////////////////////////////
0 commit comments