Skip to content

Commit f8830e6

Browse files
committed
Fix typo
1 parent 05e159d commit f8830e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/MullvadVPN/TransportMonitor/TransportMonitor.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ final class TransportMonitor: RESTTransportProvider {
3737
tunnel.status == .connecting || tunnel.status == .reasserting || tunnel.status == .connected
3838
}
3939

40-
if let tunnel, shouldByPassVPN(tunnel: tunnel) {
40+
if let tunnel, shouldBypassVPN(tunnel: tunnel) {
4141
return PacketTunnelTransport(tunnel: tunnel)
4242
} else {
4343
return transportProvider.makeTransport()
4444
}
4545
}
4646

47-
private func shouldByPassVPN(tunnel: any TunnelProtocol) -> Bool {
47+
private func shouldBypassVPN(tunnel: any TunnelProtocol) -> Bool {
4848
switch tunnel.status {
4949
case .connected:
5050
if case .error = tunnelManager.tunnelStatus.state {

0 commit comments

Comments
 (0)