Hi folks,
I found a minor error in function nat44_ed_get_worker_out2in_cb of vpp 20.09

diff --git a/src/plugins/nat/nat.c b/src/plugins/nat/nat.c
index f4147f2..e3e1068 100644
--- a/src/plugins/nat/nat.c
+++ b/src/plugins/nat/nat.c
@@ -3598,7 +3598,7 @@ nat44_ed_get_worker_out2in_cb (vlib_buffer_t * b, 
ip4_header_t * ip,
/* try static mappings with port */
if (PREDICT_FALSE (pool_elts (sm->static_mappings)))
{
-      init_nat_k (&kv, ip->dst_address, proto, 0, port);
+      init_nat_k (&kv, ip->dst_address, port, 0, proto);
if (!clib_bihash_search_8_8
(&sm->static_mapping_by_external, &kv, &value))
{
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17506): https://lists.fd.io/g/vpp-dev/message/17506
Mute This Topic: https://lists.fd.io/mt/77075963/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to