diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2021-05-26 17:27:50 +0000 |
---|---|---|
committer | Ole Troan <ot@cisco.com> | 2021-09-21 15:35:07 +0200 |
commit | 5aa06abf247ec2b2c6d3b891daf60fbac7d28096 (patch) | |
tree | d01d05a212075510801abccd6255cde2d69de739 | |
parent | b2819dd20e667e9b7d21601a8b2e1195cfd04c19 (diff) |
pnat: fix the version of the PNAT plugin from the hardcoded 0.0.1
Type: fix
Change-Id: I35db6763f3c5bd73169a222a4a93a917e8f468e6
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Signed-off-by: Ole Troan <ot@cisco.com>
-rw-r--r-- | src/plugins/nat/pnat/pnat_api.c | 3 |
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", }; |