summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBug Magnet <marco.nikic@mullvad.net>2025-05-22 10:52:47 +0200
committerJon Petersson <jon.petersson@mullvad.net>2025-06-18 15:57:14 +0200
commit8accf6f5ea53be2602702069b6b8853a6cea1e70 (patch)
tree843161a2b044a1fbaea095e6a0ae19b02848269a
parente417e8a405138d7013ba83caf1eac0d05558e712 (diff)
downloadmullvadvpn-8accf6f5ea53be2602702069b6b8853a6cea1e70.tar.xz
mullvadvpn-8accf6f5ea53be2602702069b6b8853a6cea1e70.zip
Make the NWPathMonitor monitor all the available interfaces
-rw-r--r--ios/MullvadVPN/TunnelManager/TunnelManager.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/MullvadVPN/TunnelManager/TunnelManager.swift b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
index 090a8d9bb1..78939e877e 100644
--- a/ios/MullvadVPN/TunnelManager/TunnelManager.swift
+++ b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
@@ -891,7 +891,7 @@ final class TunnelManager: StorePaymentObserver, @unchecked Sendable {
private func startNetworkMonitor() {
cancelNetworkMonitor()
- networkMonitor = NWPathMonitor(prohibitedInterfaceTypes: [.other])
+ networkMonitor = NWPathMonitor()
networkMonitor?.pathUpdateHandler = { [weak self] path in
self?.didUpdateNetworkPath(path)
}