aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_nat44_ed.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_nat44_ed.py')
-rw-r--r--test/test_nat44_ed.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/test_nat44_ed.py b/test/test_nat44_ed.py
index 7279b6a7d56..1fbfff990b6 100644
--- a/test/test_nat44_ed.py
+++ b/test/test_nat44_ed.py
@@ -142,7 +142,6 @@ class TestNAT44ED(VppTestCase):
tag="",
flags=0,
):
-
if not (local_port and external_port):
flags |= self.config_flags.NAT_IS_ADDR_ONLY
@@ -687,7 +686,6 @@ class TestNAT44ED(VppTestCase):
def frag_in_order_in_plus_out(
self, in_addr, out_addr, in_port, out_port, proto=IP_PROTOS.tcp
):
-
layer = self.proto2layer(proto)
if proto == IP_PROTOS.tcp:
@@ -743,7 +741,6 @@ class TestNAT44ED(VppTestCase):
def frag_out_of_order_in_plus_out(
self, in_addr, out_addr, in_port, out_port, proto=IP_PROTOS.tcp
):
-
layer = self.proto2layer(proto)
if proto == IP_PROTOS.tcp: