aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/nat/nat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/nat/nat.c b/src/plugins/nat/nat.c
index fabd0bc26ae..aa7ef10ad0e 100644
--- a/src/plugins/nat/nat.c
+++ b/src/plugins/nat/nat.c
@@ -2081,6 +2081,8 @@ snat_get_worker_out2in_cb (ip4_header_t * ip0, u32 rx_fib_index0)
}
/* Add to translated packets worker lookup */
+ key0.port = udp0->dst_port;
+ kv0.key = key0.as_u64;
kv0.value = next_worker_index;
clib_bihash_add_del_8_8 (&sm->worker_by_out, &kv0, 1);
}