diff options
-rw-r--r-- | src/if_wg.c | 3 | ||||
-rw-r--r-- | src/version.h | 1 |
2 files changed, 3 insertions, 1 deletions
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 |