aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-12-19 16:23:29 +0530
committerRoopesh Chander <roop@roopc.net>2018-12-19 18:35:53 +0530
commit35450bf407c0ec05d510f6148ecef0192d3b8003 (patch)
tree86575776fc7ca11b46a2cb749be105d7bb098306 /WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
parentTunnel edit: Fix comment (diff)
downloadwireguard-apple-35450bf407c0ec05d510f6148ecef0192d3b8003.tar.xz
wireguard-apple-35450bf407c0ec05d510f6148ecef0192d3b8003.zip
Remove non-helpful comments
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift2
1 files changed, 0 insertions, 2 deletions
diff --git a/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift b/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
index 9a3aede0..814ed59e 100644
--- a/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
+++ b/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
@@ -59,8 +59,6 @@ class PacketTunnelProvider: NEPacketTunnelProvider {
let packetTunnelSettingsGenerator = PacketTunnelSettingsGenerator(tunnelConfiguration: tunnelConfiguration, resolvedEndpoints: resolvedEndpoints)
- // Bring up wireguard-go backend
-
let fileDescriptor = packetFlow.value(forKeyPath: "socket.fileDescriptor") as! Int32 //swiftlint:disable:this force_cast
if fileDescriptor < 0 {
wg_log(.error, staticMessage: "Starting tunnel failed: Could not determine file descriptor")