]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
VPN: There are no DNS errors to handle in the app now
authorRoopesh Chander <roop@roopc.net>
Sat, 10 Nov 2018 06:48:18 +0000 (12:18 +0530)
committerRoopesh Chander <roop@roopc.net>
Sat, 10 Nov 2018 11:14:28 +0000 (16:44 +0530)
Signed-off-by: Roopesh Chander <roop@roopc.net>
WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
WireGuard/WireGuard/VPN/TunnelsManager.swift

index cbb5b8b4aa311baf6532888c37419057b7420e68..d06f632c6a9ec4875c96c0cf5294cff5da747f68 100644 (file)
@@ -21,8 +21,6 @@ class ErrorPresenter {
             return ("Unable to remove tunnel", "Internal error")
 
         // TunnelActivationError
-        case TunnelActivationError.dnsResolutionFailed:
-            return ("DNS resolution failure", "One or more endpoint domains could not be resolved")
         case TunnelActivationError.tunnelActivationFailed:
             return ("Activation failure", "The tunnel could not be activated due to an internal error")
         case TunnelActivationError.attemptingActivationWhenAnotherTunnelIsBusy(let otherTunnelStatus):
index 682aa79540ff33fcb1aeab716546994751a520a1..a5e94a851069192c8a6a93fe5da4bb197f00b1e9 100644 (file)
@@ -13,7 +13,6 @@ protocol TunnelsManagerDelegate: class {
 }
 
 enum TunnelActivationError: Error {
-    case dnsResolutionFailed
     case tunnelActivationFailed
     case attemptingActivationWhenAnotherTunnelIsBusy(otherTunnelStatus: TunnelStatus)
     case attemptingActivationWhenTunnelIsNotInactive