aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/VPN/TunnelsManager.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-11-06 22:42:53 +0530
committerRoopesh Chander <roop@roopc.net>2018-11-06 22:42:53 +0530
commitf6a5dfead42649579ee2f901f7ca63de3cf698da (patch)
tree9b7d642c10150ccf7369514c83b4eaae99fbd4df /WireGuard/WireGuard/VPN/TunnelsManager.swift
parentGlobal: swiftlint autocorrect (diff)
downloadwireguard-apple-f6a5dfead42649579ee2f901f7ca63de3cf698da.tar.xz
wireguard-apple-f6a5dfead42649579ee2f901f7ca63de3cf698da.zip
Global: swiftlint autocorrect --format
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/VPN/TunnelsManager.swift12
1 files changed, 6 insertions, 6 deletions
diff --git a/WireGuard/WireGuard/VPN/TunnelsManager.swift b/WireGuard/WireGuard/VPN/TunnelsManager.swift
index d0c0dc1..d0fe337 100644
--- a/WireGuard/WireGuard/VPN/TunnelsManager.swift
+++ b/WireGuard/WireGuard/VPN/TunnelsManager.swift
@@ -289,8 +289,8 @@ class TunnelContainer: NSObject {
return
}
s.startActivation(tunnelConfiguration: tunnelConfiguration,
- resolvedEndpoints: resolvedEndpoints,
- completionHandler: completionHandler)
+ resolvedEndpoints: resolvedEndpoints,
+ completionHandler: completionHandler)
}
}
}
@@ -356,10 +356,10 @@ class TunnelContainer: NSObject {
return
}
guard (vpnError.code == NEVPNError.configurationInvalid || vpnError.code == NEVPNError.configurationStale) else {
- os_log("Failed to activate tunnel: %{public}@", log: OSLog.default, type: .debug, "\(error)")
- status = .inactive
- completionHandler(error)
- return
+ os_log("Failed to activate tunnel: %{public}@", log: OSLog.default, type: .debug, "\(error)")
+ status = .inactive
+ completionHandler(error)
+ return
}
assert(vpnError.code == NEVPNError.configurationInvalid || vpnError.code == NEVPNError.configurationStale)
os_log("startActivation: Error says: %{public}@", log: OSLog.default, type: .debug,