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:
0db1575
)
cnat: Fix unformat_cnat_snat_interface_map_type
89/37489/7
author
Miguel Borges de Freitas
<
[email protected]
>
Wed, 19 Oct 2022 21:33:56 +0000
(22:33 +0100)
committer
Beno�t Ganne
<
[email protected]
>
Fri, 28 Oct 2022 08:45:56 +0000
(08:45 +0000)
Fix initialization of the table u32 var which is leading to the incorrect
unformat of interface map type
Type: fix
Signed-off-by: Miguel Borges de Freitas <
[email protected]
>
Change-Id: I1e56acd0e4c735df755e85b172bb6623bf47a57b
src/plugins/cnat/cnat_snat_policy.c
patch
|
blob
|
history
diff --git
a/src/plugins/cnat/cnat_snat_policy.c
b/src/plugins/cnat/cnat_snat_policy.c
index
d59156f
..
298dc76
100644
(file)
--- a/
src/plugins/cnat/cnat_snat_policy.c
+++ b/
src/plugins/cnat/cnat_snat_policy.c
@@
-108,7
+108,7
@@
cnat_snat_policy_add_del_if_command_fn (vlib_main_t *vm,
vnet_main_t *vnm = vnet_get_main ();
int is_add = 1;
u32 sw_if_index = ~0;
- u32 table;
+ u32 table
= 0
;
int rv;
while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT)