summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/TunnelManager/StartTunnelOperation.swift6
1 files changed, 6 insertions, 0 deletions
diff --git a/ios/MullvadVPN/TunnelManager/StartTunnelOperation.swift b/ios/MullvadVPN/TunnelManager/StartTunnelOperation.swift
index 6c2b97ac06..82e3300513 100644
--- a/ios/MullvadVPN/TunnelManager/StartTunnelOperation.swift
+++ b/ios/MullvadVPN/TunnelManager/StartTunnelOperation.swift
@@ -119,6 +119,12 @@ class StartTunnelOperation: ResultOperation<Void>, @unchecked Sendable {
protocolConfig.providerBundleIdentifier = ApplicationTarget.packetTunnel.bundleIdentifier
protocolConfig.serverAddress = ""
+ #if DEBUG
+ if #available(iOS 17.4, *) {
+ protocolConfig.excludeDeviceCommunication = true
+ }
+ #endif
+
let alwaysOnRule = NEOnDemandRuleConnect()
alwaysOnRule.interfaceTypeMatch = .any