aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2024-08-30 14:19:32 +0200
committerVratko Polak <vrpolak@cisco.com>2024-08-30 14:19:32 +0200
commiteae94fe0d9bd621fbe979e3ee806e0266852baae (patch)
tree18c1a45774c5a3b4474261b5def9a05b598b9e42 /resources/libraries/python
parentf5a19af10a4a79b5cb096c46311ebb6ca4129274 (diff)
fix(trex): do not match substringoper-240902
Fixes: d78103b24d3bd68f3bd390fa527924bbb1019a23 Change-Id: I098752553ed34c6fef0cf4eed61662b78c8fd97c Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/TrafficGenerator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py
index 20ab50c7e0..ae01f8d3a6 100644
--- a/resources/libraries/python/TrafficGenerator.py
+++ b/resources/libraries/python/TrafficGenerator.py
@@ -304,7 +304,7 @@ class TrafficGenerator(AbstractMeasurer):
for link in range(1, pfs, 2):
tg_if1_adj_addr = topology[f"TG_pf{link+1}_mac"][0]
tg_if2_adj_addr = topology[f"TG_pf{link}_mac"][0]
- skip = 0 if osi_layer in ("L3_1") else 1
+ skip = 0 if osi_layer in ("L3_1",) else 1
if osi_layer in ("L3", "L3_1", "L7") and "DUT1" \
in topology.keys():
ifl = BuiltIn().get_variable_value("${int}")