diff options
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift index 9763b92..75c3687 100644 --- a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift @@ -246,9 +246,9 @@ extension TunnelsListTableViewController { tunnelsManager.startActivation(of: tunnel) { error in if let error = error { switch (error) { - case TunnelsManagerError.noEndpoint: + case TunnelActivationError.noEndpoint: self?.showErrorAlert(title: "Endpoint missing", message: "There must be at least one peer with an endpoint") - case TunnelsManagerError.dnsResolutionFailed: + case TunnelActivationError.dnsResolutionFailed: self?.showErrorAlert(title: "DNS Failure", message: "One or more endpoint domains could not be resolved") default: self?.showErrorAlert(title: "Internal error", message: "The tunnel could not be activated") |