aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-03-27 17:33:57 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-03-27 17:33:57 +0200
commit57a679d956e33ca3132925d29f4f2e84a40fb1c7 (patch)
treeb2194857e64159053fe87a41c59d06b7868f4611
parentcompat: allow create-patch to work on debian-based builds (diff)
downloadwireguard-monolithic-historical-57a679d956e33ca3132925d29f4f2e84a40fb1c7.tar.xz
wireguard-monolithic-historical-57a679d956e33ca3132925d29f4f2e84a40fb1c7.zip
main: add /sys/module/wireguard/version
Suggested-by: Samuel Holland <samuel@sholland.org>
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 7712322..2c2cc6f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -69,4 +69,5 @@ module_exit(mod_exit);
MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("Fast, secure, and modern VPN tunnel");
MODULE_AUTHOR("Jason A. Donenfeld <Jason@zx2c4.com>");
+MODULE_VERSION(WIREGUARD_VERSION);
MODULE_ALIAS_RTNL_LINK(KBUILD_MODNAME);