aboutsummaryrefslogtreecommitdiffstats
path: root/src/if_wg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_wg.c')
-rw-r--r--src/if_wg.c3
1 files changed, 2 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);