Olivier MATZ
-
2011-12-07
When running iperf client with -P x with x > 127, the sum of bandwidth is not displayed at the end of the test.
The attached patch fixes the issue.
To reproduce the problem:
SUCCESS
$ iperf -s -p 4000
# on another terminal of the same machine
$ iperf -c 127.0.0.1 -p 4000 -P 100 -t 2
FAIL
$ iperf -s -p 4000
# on another terminal of the same machine
$ iperf -c 127.0.0.1 -p 4000 -P 200 -t 2