From f23c253bc3c8485c87f07573c432b1003db984c3 Mon Sep 17 00:00:00 2001 From: imarom Date: Sun, 28 Feb 2016 03:38:57 -0500 Subject: added port_info API IPG for load PCAP cannot be less than 1 usec --- .../trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py') 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 -- cgit 1.2.3-korg