diff options
author | 2016-02-28 03:38:57 -0500 | |
---|---|---|
committer | 2016-02-28 03:38:57 -0500 | |
commit | f23c253bc3c8485c87f07573c432b1003db984c3 (patch) | |
tree | 78fee4ada7131e994ba6cb091067b36952509e4f /scripts/automation/trex_control_plane/stl/trex_stl_lib/utils | |
parent | 23532d37dd0f8e23ec59e36eb96dd766e65cb6b6 (diff) |
added port_info API
IPG for load PCAP cannot be less than 1 usec
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/utils')
-rwxr-xr-x | scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py index 0c70801f..649c192a 100755 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py @@ -360,7 +360,7 @@ class CCmdArgParser(argparse.ArgumentParser): # so maybe we have ports configured elif getattr(opts, "ports", None): for port in opts.ports: - if not self.stateless_client._validate_port_list([port]): + if not self.stateless_client._validate_port_list(port): self.error("port id '{0}' is not a valid port id\n".format(port)) return opts |