WireGuardKit: Rename cannotLocateSocketDescriptor -> cannotLocateTunnelFileDescriptor in WireGuardAdapterError

Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
Andrej Mihajlov committed 2020-12-03 13:22:52 +01:00
1 parent 41e006a407
commit def921801f
2 files changed
+5 -5

No files matched your search

@@ -42,8 +42,8 @@ class PacketTunnelProvider: NEPacketTunnelProvider {
}
switch adapterError {
case .cannotLocateSocketDescriptor:
wg_log(.error, staticMessage: "Starting tunnel failed: Could not determine file descriptor")
case .cannotLocateTunnelFileDescriptor:
wg_log(.error, staticMessage: "Starting tunnel failed: could not determine file descriptor")
errorNotifier.notify(PacketTunnelProviderError.couldNotDetermineFileDescriptor)
completionHandler(PacketTunnelProviderError.couldNotDetermineFileDescriptor)