summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-09 10:45:36 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-09 10:45:40 +0200
commitd50e390904ea602ce8d007361fc24ca5ab0c739c (patch)
tree704b9219a9de8e9043d037bb55f867ffb0287dcf
parent18fa270472650553266bda78dbe1764224faaa73 (diff)
main_windows: use proper version constant
-rw-r--r--main_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_windows.go b/main_windows.go
index 39cdead..2bb4c0e 100644
--- a/main_windows.go
+++ b/main_windows.go
@@ -31,7 +31,7 @@ func main() {
device.LogLevelDebug,
fmt.Sprintf("(%s) ", interfaceName),
)
- logger.Info.Println("Starting wireguard-go version", WireGuardGoVersion)
+ logger.Info.Println("Starting wireguard-go version", device.WireGuardGoVersion)
logger.Debug.Println("Debug log enabled")
tun, err := tun.CreateTUN(interfaceName)