aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-03-17 10:15:51 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-03-17 10:18:27 -0600
commit57e37ff404b9b6a5b50a1e855e2c56565683514a (patch)
tree681a196c02c97ce3665a825773f572f068b02260
parentsupport: prepare for out of tree builds (diff)
downloadwireguard-freebsd-57e37ff404b9b6a5b50a1e855e2c56565683514a.tar.xz
wireguard-freebsd-57e37ff404b9b6a5b50a1e855e2c56565683514a.zip
version: bumpv0.0.20210317
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--src/if_wg.c3
-rw-r--r--src/version.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/if_wg.c b/src/if_wg.c
index 1fa7b4c29151..90c86aa53081 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 000000000000..9e05b11582e4
--- /dev/null
+++ b/src/version.h
@@ -0,0 +1 @@
+#define WIREGUARD_VERSION 20210317