aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/service/errors.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-27 17:08:11 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-27 17:49:56 +0200
commit4815c9234f29bbbaab56bf02227c5d94f7d24726 (patch)
tree11b10cf62fdd615c15d0819390f36d26f1cc238b /service/errors.go
parentui: suppress extranous deactivated notification in tray (diff)
downloadwireguard-windows-4815c9234f29bbbaab56bf02227c5d94f7d24726.tar.xz
wireguard-windows-4815c9234f29bbbaab56bf02227c5d94f7d24726.zip
service: tunnel: UAPI serialization is always DNS related
Diffstat (limited to '')
-rw-r--r--service/errors.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/errors.go b/service/errors.go
index a2050460..d3f02f54 100644
--- a/service/errors.go
+++ b/service/errors.go
@@ -20,7 +20,7 @@ const (
ErrorCreateWintun
ErrorDetermineWintunName
ErrorUAPIListen
- ErrorUAPISerialization
+ ErrorDNSLookup
ErrorDeviceSetConfig
ErrorBindSocketsToDefaultRoutes
ErrorSetNetConfig
@@ -48,8 +48,8 @@ func (e Error) Error() string {
return "Unable to determine Wintun name"
case ErrorUAPIListen:
return "Unable to listen on named pipe"
- case ErrorUAPISerialization:
- return "Unable to serialize configuration into uapi form"
+ case ErrorDNSLookup:
+ return "Unable to resolve one or more DNS hostname endpoints"
case ErrorDeviceSetConfig:
return "Unable to set device configuration"
case ErrorBindSocketsToDefaultRoutes: