summaryrefslogtreecommitdiffstats
path: root/plugins/snat-plugin/snat/in2out.c
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2016-12-21 23:58:46 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2016-12-22 12:28:01 +0000
commit9902fcd3e06dae893264f7681e82a2b73141546c (patch)
treeab6435fafe9c6fc1fcf535e29a4b7e353c681cb7 /plugins/snat-plugin/snat/in2out.c
parent20d1232532e6f6c94c77a125b6c17680e14785b5 (diff)
SNAT: Remove the oldest translation fix (VPP-568)
Fixed bug and add test. Change-Id: Ibe70dfc81e6c264223050d316cf6a2a3a0e1524e Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'plugins/snat-plugin/snat/in2out.c')
-rw-r--r--plugins/snat-plugin/snat/in2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/snat-plugin/snat/in2out.c b/plugins/snat-plugin/snat/in2out.c
index d7b647ef14e..c78fdd76631 100644
--- a/plugins/snat-plugin/snat/in2out.c
+++ b/plugins/snat-plugin/snat/in2out.c
@@ -203,7 +203,7 @@ static u32 slow_path (snat_main_t *sm, vlib_buffer_t *b0,
/* Get the session */
s = pool_elt_at_index (sm->per_thread_data[cpu_index].sessions,
session_index);
- } while (!snat_is_session_static (s));
+ } while (snat_is_session_static (s));
/* Remove in2out, out2in keys */
kv0.key = s->in2out.as_u64;