nat: remove duplicate line of code 97/26897/2
authorKlement Sekera <ksekera@cisco.com>
Wed, 6 May 2020 11:21:16 +0000 (11:21 +0000)
committerOle 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

index 9aa5760..a1d1f85 100755 (executable)
@@ -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;