diff options
| -rw-r--r-- | ios/MullvadVPN/SimulatorTunnelProviderHost.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/MullvadVPN/SimulatorTunnelProviderHost.swift b/ios/MullvadVPN/SimulatorTunnelProviderHost.swift index 7305dbe0f2..878d9460d1 100644 --- a/ios/MullvadVPN/SimulatorTunnelProviderHost.swift +++ b/ios/MullvadVPN/SimulatorTunnelProviderHost.swift @@ -14,7 +14,7 @@ import Logging class SimulatorTunnelProviderHost: SimulatorTunnelProviderDelegate { - private var tunnelStatus = PacketTunnelStatus() + private var tunnelStatus = PacketTunnelStatus(isNetworkReachable: true, connectingDate: nil, tunnelRelay: nil) private let providerLogger = Logger(label: "SimulatorTunnelProviderHost") private let stateQueue = DispatchQueue(label: "SimulatorTunnelProviderHostQueue") @@ -42,7 +42,7 @@ class SimulatorTunnelProviderHost: SimulatorTunnelProviderDelegate { override func stopTunnel(with reason: NEProviderStopReason, completionHandler: @escaping () -> Void) { stateQueue.async { - self.tunnelStatus = PacketTunnelStatus() + self.tunnelStatus = PacketTunnelStatus(isNetworkReachable: true, connectingDate: nil, tunnelRelay: nil) completionHandler() } |
