From 57e37ff404b9b6a5b50a1e855e2c56565683514a Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 17 Mar 2021 10:15:51 -0600 Subject: version: bump Signed-off-by: Jason A. Donenfeld --- src/if_wg.c | 3 ++- src/version.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 src/version.h diff --git a/src/if_wg.c b/src/if_wg.c index 1fa7b4c..90c86aa 100644 --- a/src/if_wg.c +++ b/src/if_wg.c @@ -71,6 +71,7 @@ __FBSDID("$FreeBSD$"); #include "support.h" #include "wg_noise.h" #include "wg_cookie.h" +#include "version.h" #include "if_wg.h" /* It'd be nice to use IF_MAXMTU, but that means more complicated mbuf allocations, @@ -3447,5 +3448,5 @@ static moduledata_t wg_moduledata = { }; DECLARE_MODULE(wg, wg_moduledata, SI_SUB_PSEUDO, SI_ORDER_ANY); -MODULE_VERSION(wg, 1); +MODULE_VERSION(wg, WIREGUARD_VERSION); MODULE_DEPEND(wg, crypto, 1, 1, 1); diff --git a/src/version.h b/src/version.h new file mode 100644 index 0000000..9e05b11 --- /dev/null +++ b/src/version.h @@ -0,0 +1 @@ +#define WIREGUARD_VERSION 20210317 -- cgit v1.2.3-59-g8ed1b