Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
20754e6
)
NAT: fixed bug in snat_get_worker_out2in_cb (VPP-832)
34/8334/3
author
Matus Fabian
<matfabia@cisco.com>
Thu, 7 Sep 2017 10:50:49 +0000
(
03:50
-0700)
committer
Damjan Marion
<dmarion.lists@gmail.com>
Thu, 7 Sep 2017 13:38:36 +0000
(13:38 +0000)
Change-Id: Id9c977634a1259865e3403ba0d90aecaca85207d
Signed-off-by: Matus Fabian <matfabia@cisco.com>
src/plugins/nat/nat.c
patch
|
blob
|
history
diff --git
a/src/plugins/nat/nat.c
b/src/plugins/nat/nat.c
index
fabd0bc
..
aa7ef10
100644
(file)
--- 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);
}