aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/version/useragent.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-07-11 12:20:19 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-07-16 13:43:17 +0200
commitff6a9ce7cd6a093418b7b3ea1b377d0cecd5e67b (patch)
treee3ed79ee8f36c45a91cd8c4eb32a941407869244 /version/useragent.go
parentgo.mod: use master branch of wireguard-go (diff)
downloadwireguard-windows-ff6a9ce7cd6a093418b7b3ea1b377d0cecd5e67b.tar.xz
wireguard-windows-ff6a9ce7cd6a093418b7b3ea1b377d0cecd5e67b.zip
version: the version implies the go version and wggo version
Diffstat (limited to '')
-rw-r--r--version/useragent.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/version/useragent.go b/version/useragent.go
index 83d9da56..6fa62d40 100644
--- a/version/useragent.go
+++ b/version/useragent.go
@@ -8,10 +8,8 @@ package version
import (
"fmt"
"runtime"
-
- "golang.zx2c4.com/wireguard/device"
)
func UserAgent() string {
- return fmt.Sprintf("WireGuard/%s (wireguard-go %s; %s; %s; %s)", RunningVersion(), device.WireGuardGoVersion, OsName(), runtime.Version(), runtime.GOARCH)
+ return fmt.Sprintf("WireGuard/%s (%s; %s)", RunningVersion(), OsName(), runtime.GOARCH)
}