diff options
Diffstat (limited to 'ext/net/ops_tls.rs')
-rw-r--r-- | ext/net/ops_tls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/net/ops_tls.rs b/ext/net/ops_tls.rs index c0043c895..a36443977 100644 --- a/ext/net/ops_tls.rs +++ b/ext/net/ops_tls.rs @@ -471,7 +471,7 @@ where #[cfg(not(windows))] socket.set_reuse_address(true)?; if args.reuse_port { - #[cfg(target_os = "linux")] + #[cfg(any(target_os = "android", target_os = "linux"))] socket.set_reuse_port(true)?; } let socket_addr = socket2::SockAddr::from(bind_addr); |