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 | f5303636391623f844b84187ec286abdc461026a (patch) | |
tree | 7e343c3f97402cc24938bd08f2c1f0775d95dad9 /src/main.c | |
parent | chacha20poly1305: sse/ymm should be implicit (diff) | |
download | wireguard-monolithic-historical-f5303636391623f844b84187ec286abdc461026a.tar.xz wireguard-monolithic-historical-f5303636391623f844b84187ec286abdc461026a.zip |
main: add version to dmesg
Diffstat (limited to '')
-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; } |