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:
9bb09af
)
nat: remove duplicate line of code
97/26897/2
author
Klement Sekera
<ksekera@cisco.com>
Wed, 6 May 2020 11:21:16 +0000
(11:21 +0000)
committer
Ole Trøan
<otroan@employees.org>
Thu, 7 May 2020 17:07:58 +0000
(17:07 +0000)
Type: fix
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I3c914d5c457df40205280ac589a2d353261343d5
src/plugins/nat/nat.c
patch
|
blob
|
history
diff --git
a/src/plugins/nat/nat.c
b/src/plugins/nat/nat.c
index
9aa5760
..
a1d1f85
100755
(executable)
--- a/
src/plugins/nat/nat.c
+++ b/
src/plugins/nat/nat.c
@@
-216,7
+216,6
@@
nat_free_session_data (snat_main_t * sm, snat_session_t * s, u32 thread_index,
}
else
{
}
else
{
- proto = snat_proto_to_ip_proto (s->in2out.protocol);
l_port = s->in2out.port;
r_port = s->ext_host_port;
l_addr = &s->in2out.addr;
l_port = s->in2out.port;
r_port = s->ext_host_port;
l_addr = &s->in2out.addr;