Added self for fix UnboundLocalError (#433)

This commit is contained in:
jitendracandela
2022-03-18 11:14:20 +05:30
committed by GitHub
parent 7692f17623
commit 74806e0969

View File

@@ -513,7 +513,7 @@ class RunTest:
raw_lines = [['pkts: 60;142;256;512;1024;MTU;4000'], ['directions: DUT Transmit;DUT Receive'],
['traffic_types: UDP;TCP'],
["show_3s: 1"], ["show_ll_graphs: 1"], ["show_log: 1"]]
self.client_connect.upstream_port = upstream_port
self.client_connect.upstream_port = self.upstream_port
elif mode == "VLAN":
self.client_connect.upstream_port = upstream_port + "." + str(vlan_id)