From: Andrew Yourtchenko Date: Wed, 26 May 2021 17:27:50 +0000 (+0000) Subject: pnat: fix the version of the PNAT plugin from the hardcoded 0.0.1 X-Git-Tag: v22.02-rc0~15 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=5aa06abf247ec2b2c6d3b891daf60fbac7d28096;p=vpp.git pnat: fix the version of the PNAT plugin from the hardcoded 0.0.1 Type: fix Change-Id: I35db6763f3c5bd73169a222a4a93a917e8f468e6 Signed-off-by: Andrew Yourtchenko Signed-off-by: Ole Troan --- 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 #include #include +#include /* * 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 VLIB_PLUGIN_REGISTER() = { - .version = "0.0.1", + .version = VPP_BUILD_VER, .description = "Policy 1:1 NAT", };