From 5aa06abf247ec2b2c6d3b891daf60fbac7d28096 Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Wed, 26 May 2021 17:27:50 +0000 Subject: 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 --- src/plugins/nat/pnat/pnat_api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/nat') 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", }; -- cgit 1.2.3-korg