diff options
| -rw-r--r-- | mullvad-daemon/src/relays.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mullvad-daemon/src/relays.rs b/mullvad-daemon/src/relays.rs index 025c535e6c..22ab4c7cd7 100644 --- a/mullvad-daemon/src/relays.rs +++ b/mullvad-daemon/src/relays.rs @@ -248,7 +248,6 @@ impl RelaySelector { // any constraints that are explicitly specified. match original_constraints.tunnel_protocol { // If no tunnel protocol is selected, use preferred constraints - #[cfg(not(target_os = "android"))] Constraint::Any => { if original_constraints.openvpn_constraints.port.is_any() && original_constraints.openvpn_constraints.protocol.is_any() @@ -264,20 +263,13 @@ impl RelaySelector { }; } } - #[cfg(not(target_os = "android"))] Constraint::Only(TunnelProtocol::OpenVpn) => { relay_constraints.openvpn_constraints = original_constraints.openvpn_constraints; } - #[cfg(not(target_os = "android"))] Constraint::Only(TunnelProtocol::Wireguard) => { relay_constraints.wireguard_constraints = original_constraints.wireguard_constraints; } - #[cfg(target_os = "android")] - _ => { - relay_constraints.wireguard_constraints = - original_constraints.wireguard_constraints; - } } relay_constraints |
