aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-30 01:09:18 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-30 01:09:18 +0200
commit955e89839fbb3f2f9808a5699e5a6e99b263d2eb (patch)
treea6427026817f72be321bd65839d983e4e385073d
parentUpdate deps (diff)
downloadwireguard-go-955e89839fbb3f2f9808a5699e5a6e99b263d2eb.tar.xz
wireguard-go-955e89839fbb3f2f9808a5699e5a6e99b263d2eb.zip
Print version number in log
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index bb2786b..b85ec5c 100644
--- a/main.go
+++ b/main.go
@@ -160,6 +160,8 @@ func main() {
fmt.Sprintf("(%s) ", interfaceName),
)
+ logger.Info.Println("Starting wireguard-go version", WireGuardGoVersion)
+
logger.Debug.Println("Debug log enabled")
if err != nil {