nat: use correct node indexes for queues

Type: fix
Change-Id: I30b847acc4653fea9d609fc0d5875c3fda0824ef
Signed-off-by: Klement Sekera <ksekera@cisco.com>
This commit is contained in:
Klement Sekera
2021-03-04 19:53:55 +01:00
committed by Ole Tr�an
parent ef9c23503c
commit 46353f0693

View File

@ -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;