X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_nat44_ed.py;h=1fbfff990b6263c0d6c76e5ac73c782fa3e05441;hb=7b8b4652693a87233c9aea313959a9cede3df0f4;hp=7279b6a7d56c00008a2238b9c0f00472c882688c;hpb=d826a602696eb337dcce191d7d24ae1869e81ec2;p=vpp.git 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: