aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat44-ed
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2021-03-04 19:53:55 +0100
committerOle Tr�an <otroan@employees.org>2021-03-06 17:29:25 +0000
commit46353f069337051b9299c1a21a7110d19816e66d (patch)
treeee86fd55e4dab49c569a0c5e7e55c005f7b08133 /src/plugins/nat/nat44-ed
parentef9c23503c759bfc0fc404c0d7cf122c92460123 (diff)
nat: use correct node indexes for queues
Type: fix Change-Id: I30b847acc4653fea9d609fc0d5875c3fda0824ef Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat44-ed')
-rw-r--r--src/plugins/nat/nat44-ed/nat44_ed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nat/nat44-ed/nat44_ed.c b/src/plugins/nat/nat44-ed/nat44_ed.c
index fcc3e6bf0b5..6f2cd11e695 100644
--- a/src/plugins/nat/nat44-ed/nat44_ed.c
+++ b/src/plugins/nat/nat44-ed/nat44_ed.c
@@ -2011,10 +2011,10 @@ nat44_set_node_indexes (snat_main_t * sm, vlib_main_t * vm)
vlib_node_t *node;
node = vlib_get_node_by_name (vm, (u8 *) "nat44-ed-out2in");
- sm->in2out_node_index = node->index;
+ sm->out2in_node_index = node->index;
node = vlib_get_node_by_name (vm, (u8 *) "nat44-ed-in2out");
- sm->out2in_node_index = node->index;
+ sm->in2out_node_index = node->index;
node = vlib_get_node_by_name (vm, (u8 *) "nat44-ed-in2out-output");
sm->in2out_output_node_index = node->index;