summaryrefslogtreecommitdiffstats
path: root/main_windows.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-01-28 17:23:39 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-01-28 17:23:39 +0100
commitbf3bb888512e74bee0b79bd38826cb019ca2a0ee (patch)
tree5554c1a901300698237ade32c8e90092aefafb20 /main_windows.go
parentdevice: do not allow get to run while set runs (diff)
downloadwireguard-go-bf3bb888512e74bee0b79bd38826cb019ca2a0ee.tar.xz
wireguard-go-bf3bb888512e74bee0b79bd38826cb019ca2a0ee.zip
device: remove version string
This is what modules are for, and Go binaries can introspect. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'main_windows.go')
-rw-r--r--main_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_windows.go b/main_windows.go
index 82a333d..7835a17 100644
--- a/main_windows.go
+++ b/main_windows.go
@@ -34,7 +34,7 @@ func main() {
device.LogLevelVerbose,
fmt.Sprintf("(%s) ", interfaceName),
)
- logger.Verbosef("Starting wireguard-go version %s", device.WireGuardGoVersion)
+ logger.Verbosef("Starting wireguard-go version %s", Version)
tun, err := tun.CreateTUN(interfaceName, 0)
if err == nil {