diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-18 05:37:55 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-21 01:00:07 +0100 |
commit | a361c3b6fd1f9fe282e86b70f302610e985b3892 (patch) | |
tree | ca5f394346d9e14ba9eb715d89ca7bed30d7aa06 /src/main.c | |
parent | e688c09d6a0e75ae559ab79a331963f6f2ebf1b6 (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |