From b85911614786e4b507d31fe38e1aaa9e4fe0136c Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Mon, 29 Feb 2016 13:57:59 +0200 Subject: yet another limitation of 8 ports --- .../automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/automation/trex_control_plane') diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py index 3cfef087..50566853 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py @@ -163,7 +163,7 @@ class AsyncEventHandler(object): # filter the values per port and general for key, value in dump_data.iteritems(): # match a pattern of ports - m = re.search('(.*)\-([0-8])', key) + m = re.search('(.*)\-(\d+)', key) if m: port_id = int(m.group(2)) field_name = m.group(1) -- cgit 1.2.3-korg