aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-11-05 06:23:26 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-11-05 06:23:26 +0100
commit8860abc89eb0cde8918e7cbc9b1883ae577555a5 (patch)
tree2258fabef35b69f7165431dcdebc4f671ddfe5e9 /WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
parentwireguard-go-bridge: work around DWARF generation issue (diff)
downloadwireguard-apple-8860abc89eb0cde8918e7cbc9b1883ae577555a5.tar.xz
wireguard-apple-8860abc89eb0cde8918e7cbc9b1883ae577555a5.zip
TunnelsManager: account for no or many endpoints
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift2
1 files changed, 0 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift b/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
index 95b5503..d9a66dd 100644
--- a/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
+++ b/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
@@ -21,8 +21,6 @@ class ErrorPresenter {
return ("Unable to remove tunnel", "Internal error")
// TunnelActivationError
- case TunnelActivationError.noEndpoint:
- return ("Endpoint missing", "There must be at least one peer with an endpoint")
case TunnelActivationError.dnsResolutionFailed:
return ("DNS resolution failure", "One or more endpoint domains could not be resolved")
case TunnelActivationError.tunnelActivationFailed: