diff options
Diffstat (limited to 'scripts/automation/trex_control_plane/client/trex_stateless_client.py')
-rwxr-xr-x | scripts/automation/trex_control_plane/client/trex_stateless_client.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/client/trex_stateless_client.py b/scripts/automation/trex_control_plane/client/trex_stateless_client.py index 4a2cc436..78adbcc2 100755 --- a/scripts/automation/trex_control_plane/client/trex_stateless_client.py +++ b/scripts/automation/trex_control_plane/client/trex_stateless_client.py @@ -932,6 +932,8 @@ class STLClient(object): # by default use all ports if ports == None: ports = self.get_all_ports() + else: + ports = self.__ports(ports) # verify valid port id list rc = self._validate_port_list(ports) @@ -1632,6 +1634,8 @@ class STLClient(object): # by default use all ports if ports == None: ports = self.get_all_ports() + else: + ports = self.__ports(ports) # verify valid port id list rc = self._validate_port_list(ports) |