diff options
author | Bruce A. Mah <bmah@kitchenlab.org> | 2018-08-22 14:11:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-22 14:11:05 -0700 |
commit | d71efe5ff5a296eb5067ab7f2607b425da73120c (patch) | |
tree | d37b144e0192bd6324a40fe3477764345ad70bcb /src/iperf_locale.c | |
parent | da6eebb52139e455c514d6da591a8af8e13a2ad6 (diff) | |
download | iperf3-d71efe5ff5a296eb5067ab7f2607b425da73120c.tar.gz |
Fix a segmentation fault in verbose mode. (#784)
To reproduce, run the server as "iperf3 --server --verbose" and
run a client as "iperf3 --client localhost -reverse --parallel 2".
Fixes #778.
Based on https://github.com/Aquantia/iperf/commit/f1778271d2c6bed1dae09dccd33251
1b263f6871
Diffstat (limited to 'src/iperf_locale.c')
-rw-r--r-- | src/iperf_locale.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/iperf_locale.c b/src/iperf_locale.c index a1a240c..115adf2 100644 --- a/src/iperf_locale.c +++ b/src/iperf_locale.c @@ -396,6 +396,7 @@ const char report_receiver[] = "receiver"; const char report_sender_not_available_format[] = "[%3d] (sender statistics not available)\n"; const char report_sender_not_available_summary_format[] = "[%3s] (sender statistics not available)\n"; const char report_receiver_not_available_format[] = "[%3d] (receiver statistics not available)\n"; +const char report_receiver_not_available_summary_format[] = "[%3s] (receiver statistics not available)\n"; #if defined(linux) const char report_tcpInfo[] = |