diff options
| author | David Lönnhager <david.l@mullvad.net> | 2025-09-18 10:52:16 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2025-09-18 13:56:24 +0200 |
| commit | 9ebd76b18c9c8ad342090a5899fef0caae1c9824 (patch) | |
| tree | acd0157cb3ba98e5ae802c264347ece125c74536 | |
| parent | e529ab2eb44515f726cda080941793933eb59b2f (diff) | |
| download | mullvadvpn-9ebd76b18c9c8ad342090a5899fef0caae1c9824.tar.xz mullvadvpn-9ebd76b18c9c8ad342090a5899fef0caae1c9824.zip | |
Ignore IP version constraint for OpenVPN
| -rw-r--r-- | mullvad-relay-selector/src/relay_selector/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mullvad-relay-selector/src/relay_selector/mod.rs b/mullvad-relay-selector/src/relay_selector/mod.rs index 1105394c1b..bb6f251c0b 100644 --- a/mullvad-relay-selector/src/relay_selector/mod.rs +++ b/mullvad-relay-selector/src/relay_selector/mod.rs @@ -1185,6 +1185,9 @@ fn apply_ip_availability( runtime_ip_availability: IpAvailability, user_query: &mut RelayQuery, ) -> Result<(), Error> { + if user_query.tunnel_protocol() == TunnelType::OpenVpn { + return Ok(()); + } let ip_version = match runtime_ip_availability { IpAvailability::Ipv4 => Constraint::Only(IpVersion::V4), IpAvailability::Ipv6 => Constraint::Only(IpVersion::V6), |
