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:
6414674
)
nat: error in input parameter of init_nat_k
83/29383/2
author
Dengfeng Liu
<liudf0716@gmail.com>
Mon, 12 Oct 2020 06:45:28 +0000
(
02:45
-0400)
committer
Damjan Marion
<dmarion@me.com>
Fri, 16 Oct 2020 10:44:16 +0000
(10:44 +0000)
Type: fix
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
Change-Id: I3e7ee771d0cf5b7b1b9fbbc833776d523dfa9f09
src/plugins/nat/nat.c
patch
|
blob
|
history
diff --git
a/src/plugins/nat/nat.c
b/src/plugins/nat/nat.c
index
17d1b8f
..
b519550
100644
(file)
--- a/
src/plugins/nat/nat.c
+++ b/
src/plugins/nat/nat.c
@@
-3576,7
+3576,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, p
roto, 0, port
);
+ init_nat_k (&kv, ip->dst_address, p
ort, 0, proto
);
if (!clib_bihash_search_8_8
(&sm->static_mapping_by_external, &kv, &value))
{