summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/pnat
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat/pnat')
-rw-r--r--src/plugins/nat/pnat/pnat_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/nat/pnat/pnat_api.c b/src/plugins/nat/pnat/pnat_api.c
index eaefbaf4738..2c4a1382d2a 100644
--- a/src/plugins/nat/pnat/pnat_api.c
+++ b/src/plugins/nat/pnat/pnat_api.c
@@ -22,6 +22,7 @@
#include <vnet/ip/reass/ip4_sv_reass.h>
#include <vnet/ip/reass/ip6_full_reass.h>
#include <vnet/ip/reass/ip6_sv_reass.h>
+#include <vpp/app/version.h>
/*
* This file contains the API handlers for the pnat.api
@@ -193,7 +194,7 @@ clib_error_t *pnat_plugin_api_hookup(vlib_main_t *vm) {
*/
#include <vnet/plugin/plugin.h>
VLIB_PLUGIN_REGISTER() = {
- .version = "0.0.1",
+ .version = VPP_BUILD_VER,
.description = "Policy 1:1 NAT",
};