Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
b2819dd
)
pnat: fix the version of the PNAT plugin from the hardcoded 0.0.1
58/32458/6
author
Andrew Yourtchenko
<
[email protected]
>
Wed, 26 May 2021 17:27:50 +0000
(17:27 +0000)
committer
Ole Troan
<
[email protected]
>
Tue, 21 Sep 2021 13:35:07 +0000
(15:35 +0200)
Type: fix
Change-Id: I35db6763f3c5bd73169a222a4a93a917e8f468e6
Signed-off-by: Andrew Yourtchenko <
[email protected]
>
Signed-off-by: Ole Troan <
[email protected]
>
src/plugins/nat/pnat/pnat_api.c
patch
|
blob
|
history
diff --git
a/src/plugins/nat/pnat/pnat_api.c
b/src/plugins/nat/pnat/pnat_api.c
index
eaefbaf
..
2c4a138
100644
(file)
--- 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",
};