We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f32bf4 commit a43595fCopy full SHA for a43595f
talpid-tunnel/src/tun_provider/android/mod.rs
@@ -301,7 +301,7 @@ impl VpnServiceConfig {
301
.clone()
302
.unwrap_or_else(|| config.gateways())
303
// If IPv6 not available we need to disable all IPv6 DNS servers as that will cause leaks
304
- .iter().filter(|ip| !ip.is_ipv6() || config.ipv6_gateway.is_some()).map(|ip| *ip).collect()
+ .iter().filter(|ip| !ip.is_ipv6() || config.ipv6_gateway.is_some()).copied().collect()
305
}
306
307
/// Potentially subtract LAN nets from the VPN service routes, excepting gateways.
0 commit comments