fix(core): Multilink TRex Async mode 65/39665/1
authorpmikus <peter.mikus@protonmail.ch>
Thu, 12 Oct 2023 05:16:14 +0000 (05:16 +0000)
committerpmikus <peter.mikus@protonmail.ch>
Thu, 12 Oct 2023 05:16:14 +0000 (05:16 +0000)
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I8635e5731260bf0daecf87c852bc2dfb867fe650

resources/libraries/python/TrafficGenerator.py

index 5b98a6b..b0c6490 100644 (file)
@@ -687,7 +687,7 @@ class TrafficGenerator(AbstractMeasurer):
             index = 0
             for line in stdout.splitlines():
                 if f"Xstats snapshot {index}: " in line:
-                    xstats[index] = line[19:]
+                    xstats.append(line[19:])
                     index += 1
             self._xstats = tuple(xstats)
         else: