diff options
author | Sridhar K. N. Rao <srao@linuxfoundation.org> | 2022-05-02 19:46:18 +0530 |
---|---|---|
committer | Sridhar K. N. Rao <srao@linuxfoundation.org> | 2022-05-02 19:54:00 +0530 |
commit | 85211e5d65ddafa0919f299a48527ede026e78c2 (patch) | |
tree | 8f40c6e9b0263e9ea39e83673176238098168873 | |
parent | 2fcc501a8cf9f5a7dbcedf48946e225dfc485ff8 (diff) |
[BUGFIX] Bug-fix in Trex-Client.
This patch adds the fix
Signed-off-by: Sridhar K. N. Rao <srao@linuxfoundation.org>
Change-Id: Iee914ac737d088bd06bf8e762e9c6c588bc0b03e
-rw-r--r-- | tools/pkt_gen/trex/trex_client.py | 6 |
1 files changed, 3 insertions, 3 deletions
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() |