From 9da51dc9b2e9c0f1b0e699649125c8fe58e7cecd Mon Sep 17 00:00:00 2001 From: Ciana Lim Date: Sat, 1 Jun 2019 12:42:31 +0800 Subject: [PATCH] Fixed client side json_output=False feature Fixed to show test results on screen, and to be able to connect to the server after run() on the client side with json_output=False --- iperf3/iperf3.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iperf3/iperf3.py b/iperf3/iperf3.py index c47dd67..dd38053 100755 --- a/iperf3/iperf3.py +++ b/iperf3/iperf3.py @@ -632,6 +632,10 @@ def run(self): data = '{"error": "%s"}' % self._error_to_string(self._errno) return TestResult(data) + else: + self.lib.iperf_run_client(self._test) + + return None class Server(IPerf3):