From 85211e5d65ddafa0919f299a48527ede026e78c2 Mon Sep 17 00:00:00 2001 From: "Sridhar K. N. Rao" Date: Mon, 2 May 2022 19:46:18 +0530 Subject: [BUGFIX] Bug-fix in Trex-Client. This patch adds the fix Signed-off-by: Sridhar K. N. Rao Change-Id: Iee914ac737d088bd06bf8e762e9c6c588bc0b03e --- tools/pkt_gen/trex/trex_client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/pkt_gen') diff --git a/tools/pkt_gen/trex/trex_client.py b/tools/pkt_gen/trex/trex_client.py index 680497ec..01d4d389 100644 --- a/tools/pkt_gen/trex/trex_client.py +++ b/tools/pkt_gen/trex/trex_client.py @@ -108,7 +108,7 @@ class Trex(ITrafficGenerator): self._stlclient = None self._verification_params = None self._show_packet_data = False - self.trial_results = [] + self.trial_results = {} def show_packet_info(self, packet_a, packet_b): """ @@ -521,8 +521,8 @@ class Trex(ITrafficGenerator): return stats - @staticmethod - def calculate_results(stats): + # @staticmethod + def calculate_results(self, stats): """Calculate results from Trex statistic """ result = OrderedDict() -- cgit 1.2.3-korg