aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-09-08 13:53:32 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2019-09-13 12:07:36 -0400
commit7687c8b332b3f0beef53f845ad693b355b507afd (patch)
tree5d1de08257c7fb5f66a3dae746745a2cc4e02a05
parentmod: bump dependencies (diff)
downloadwireguard-windows-7687c8b332b3f0beef53f845ad693b355b507afd.tar.xz
wireguard-windows-7687c8b332b3f0beef53f845ad693b355b507afd.zip
tunnel: device->interface
-rw-r--r--services/errors.go2
-rw-r--r--tunnel/service.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/services/errors.go b/services/errors.go
index 6944c5dd..7a441778 100644
--- a/services/errors.go
+++ b/services/errors.go
@@ -44,7 +44,7 @@ func (e Error) Error() string {
case ErrorLoadConfiguration:
return "Unable to load configuration from path"
case ErrorCreateWintun:
- return "Unable to create Wintun device"
+ return "Unable to create Wintun interface"
case ErrorUAPIListen:
return "Unable to listen on named pipe"
case ErrorDNSLookup:
diff --git a/tunnel/service.go b/tunnel/service.go
index b3699dd5..0e0e5971 100644
--- a/tunnel/service.go
+++ b/tunnel/service.go
@@ -156,7 +156,7 @@ func (service *tunnelService) Execute(args []string, r <-chan svc.ChangeRequest,
return
}
- log.Println("Creating Wintun device")
+ log.Println("Creating Wintun interface")
wintun, err := tun.CreateTUNWithRequestedGUID(conf.Name, deterministicGUID(conf))
if err != nil {
serviceError = services.ErrorCreateWintun