summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBug Magnet <marco.nikic@mullvad.net>2025-05-22 10:52:47 +0200
committerBug Magnet <marco.nikic@mullvad.net>2025-05-22 10:52:47 +0200
commitb327365213b9fac1d67184fc9c3dde452137cc31 (patch)
treee154393c54709da3f0fe5c0b375ac6cc3083c0b2
parent8c1921470b1337c5ddf73a0071b61d88d49b29cb (diff)
downloadmullvadvpn-hotfix-nwpath-monitor.tar.xz
mullvadvpn-hotfix-nwpath-monitor.zip
Make the NWPathMonitor monitor all the available interfaceshotfix-nwpath-monitor
-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 af1a41f124..1451413ae3 100644
--- a/ios/MullvadVPN/TunnelManager/TunnelManager.swift
+++ b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
@@ -876,7 +876,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)
}