diff options
| author | David Lönnhager <david.l@mullvad.net> | 2023-04-05 16:35:09 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2023-04-17 10:08:14 +0200 |
| commit | f6700bc328b26cccac8c78f1e40796ad2aebbf36 (patch) | |
| tree | 91ce489b348c695e375b3af6e7af46df64d01adb /talpid-core/src | |
| parent | 5dff789072b7a18c5d5a73d1dd7abac51a15cc7a (diff) | |
| download | mullvadvpn-f6700bc328b26cccac8c78f1e40796ad2aebbf36.tar.xz mullvadvpn-f6700bc328b26cccac8c78f1e40796ad2aebbf36.zip | |
Log important settings
Diffstat (limited to 'talpid-core/src')
| -rw-r--r-- | talpid-core/src/firewall/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/talpid-core/src/firewall/mod.rs b/talpid-core/src/firewall/mod.rs index 5167685a10..2def49bc17 100644 --- a/talpid-core/src/firewall/mod.rs +++ b/talpid-core/src/firewall/mod.rs @@ -1,6 +1,5 @@ use ipnetwork::{IpNetwork, Ipv4Network, Ipv6Network}; use lazy_static::lazy_static; -#[cfg(not(target_os = "android"))] use std::net::IpAddr; #[cfg(windows)] use std::path::PathBuf; @@ -81,7 +80,6 @@ const DHCPV6_CLIENT_PORT: u16 = 546; #[cfg(all(unix, not(target_os = "android")))] const ROOT_UID: u32 = 0; -#[cfg(any(all(unix, not(target_os = "android")), target_os = "windows"))] /// Returns whether an address belongs to a private subnet. pub fn is_local_address(address: &IpAddr) -> bool { let address = *address; |
