From 103d355db504527cc6fa1d563ce6976b8490d22c Mon Sep 17 00:00:00 2001 From: Filip Varga Date: Tue, 12 May 2020 13:42:45 +0200 Subject: nat: handoff next node feature fix Type: fix Change-Id: I14e323e7bb1db7a3d40668212535c07504374e59 Signed-off-by: Filip Varga --- src/plugins/nat/nat_inlines.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/plugins/nat/nat_inlines.h') diff --git a/src/plugins/nat/nat_inlines.h b/src/plugins/nat/nat_inlines.h index a0803566ccc..a5fa84dcfa9 100644 --- a/src/plugins/nat/nat_inlines.h +++ b/src/plugins/nat/nat_inlines.h @@ -89,12 +89,14 @@ nat_pre_node_fn_inline (vlib_main_t * vm, nat_pre_trace_t *t = vlib_add_trace (vm, node, b0, sizeof (*t)); t->next_index = next0; + t->arc_next_index = arc_next0; } if (b1->flags & VLIB_BUFFER_IS_TRACED) { nat_pre_trace_t *t = vlib_add_trace (vm, node, b0, sizeof (*t)); - t->next_index = next0; + t->next_index = next1; + t->arc_next_index = arc_next1; } } @@ -129,6 +131,7 @@ nat_pre_node_fn_inline (vlib_main_t * vm, { nat_pre_trace_t *t = vlib_add_trace (vm, node, b0, sizeof (*t)); t->next_index = next0; + t->arc_next_index = arc_next0; } /* verify speculative enqueue, maybe switch current next frame */ -- cgit 1.2.3-korg