summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-11-18 05:37:55 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-11-21 01:00:07 +0100
commita361c3b6fd1f9fe282e86b70f302610e985b3892 (patch)
treeca5f394346d9e14ba9eb715d89ca7bed30d7aa06 /src/main.c
parente688c09d6a0e75ae559ab79a331963f6f2ebf1b6 (diff)
main: add version to dmesg
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e4787ac..77e8e6e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,5 +1,6 @@
/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+#include "version.h"
#include "device.h"
#include "noise.h"
#include "packets.h"
@@ -43,7 +44,7 @@ static int __init mod_init(void)
return ret;
}
- pr_info("WireGuard loaded. See www.wireguard.io for information.\n");
+ pr_info("WireGuard " WIREGUARD_VERSION " loaded. See www.wireguard.io for information.\n");
pr_info("(C) Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.\n");
return ret;
}