diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-03 16:53:05 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-03 16:53:05 +0200 |
commit | f483a403713d1e8cf26d8d2e09b370a0f7003348 (patch) | |
tree | 18943c62deb6aa40cdaa4a2b6cad931546d0ff43 /service/errors.go | |
parent | firewall: introduce incomplete untested prototype (diff) | |
download | wireguard-windows-f483a403713d1e8cf26d8d2e09b370a0f7003348.tar.xz wireguard-windows-f483a403713d1e8cf26d8d2e09b370a0f7003348.zip |
service: wire up firewall
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | service/errors.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/service/errors.go b/service/errors.go index e456818b..ecc0283a 100644 --- a/service/errors.go +++ b/service/errors.go @@ -21,6 +21,7 @@ const ( ErrorDetermineWintunName ErrorUAPIListen ErrorDNSLookup + ErrorFirewall ErrorDeviceSetConfig ErrorBindSocketsToDefaultRoutes ErrorSetNetConfig @@ -51,6 +52,8 @@ func (e Error) Error() string { return "Unable to listen on named pipe" case ErrorDNSLookup: return "Unable to resolve one or more DNS hostname endpoints" + case ErrorFirewall: + return "Unable to enable firewall rules" case ErrorDeviceSetConfig: return "Unable to set device configuration" case ErrorBindSocketsToDefaultRoutes: |