aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/TrafficGenerator.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python/TrafficGenerator.py')
-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 46c8b01f9e..afb9388111 100644
--- a/resources/libraries/python/TrafficGenerator.py
+++ b/resources/libraries/python/TrafficGenerator.py
@@ -332,7 +332,7 @@ class TrafficGenerator(AbstractMeasurer):
if2_pci = Topology().get_interface_pci_addr(self._node, tg_if2)
if min(if1_pci, if2_pci) != if1_pci:
self._ifaces_reordered = True
- tg_topology.sort(reverse=True)
+ tg_topology.reverse()
TrexInitConfig.init_trex_startup_configuration(tg_node, tg_topology)
TrafficGenerator.startup_trex(tg_node, osi_layer, subtype=subtype)