aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-02-08 17:05:58 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-08 17:07:28 +0100
commit0e2556544e617088d830dfb6d5ca53164a0d4c7c (patch)
treec79567fa3bb9e13f198982e0b55519c69f53e4b5 /WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
parentwireguard-go-bridge: get rid of nopie warning (diff)
downloadwireguard-apple-0e2556544e617088d830dfb6d5ca53164a0d4c7c.tar.xz
wireguard-apple-0e2556544e617088d830dfb6d5ca53164a0d4c7c.zip
Global: fix swiftlint issues
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift')
-rw-r--r--WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift1
1 files changed, 0 insertions, 1 deletions
diff --git a/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift b/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
index 8b96bae5..e33890df 100644
--- a/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
+++ b/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
@@ -17,7 +17,6 @@ class PacketTunnelProvider: NEPacketTunnelProvider {
networkMonitor?.cancel()
}
- //swiftlint:disable:next function_body_length
override func startTunnel(options: [String: NSObject]?, completionHandler startTunnelCompletionHandler: @escaping (Error?) -> Void) {
let activationAttemptId = options?["activationAttemptId"] as? String
let errorNotifier = ErrorNotifier(activationAttemptId: activationAttemptId)