summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2020-05-06 11:21:16 +0000
committerOle Trøan <otroan@employees.org>2020-05-07 17:07:58 +0000
commitdef783445fe9421ac6f321a9539f43a6db5261e4 (patch)
tree78ae01dc9377710dcfdad40523d7e01e5e8e1082 /src/plugins
parent9bb09afb56b1aa787ca574cc732085272059fd5f (diff)
nat: remove duplicate line of code
Type: fix Signed-off-by: Klement Sekera <ksekera@cisco.com> Change-Id: I3c914d5c457df40205280ac589a2d353261343d5
Diffstat (limited to 'src/plugins')
-rwxr-xr-xsrc/plugins/nat/nat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/nat/nat.c b/src/plugins/nat/nat.c
index 9aa5760d598..a1d1f853651 100755
--- 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
{
- 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;