summaryrefslogtreecommitdiffhomepage
path: root/main.go
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 /main.go
parenta4cd0216c068da5012a9485fb94b972b1a29d7ee (diff)
Print version number in log
Diffstat (limited to 'main.go')
-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 {