File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -2392,6 +2392,10 @@ iperf_exchange_results(struct iperf_test *test)
23922392 /* Get client results. */
23932393 if (get_results (test ) < 0 )
23942394 return -1 ;
2395+
2396+ /* Report results once client's results are received */
2397+ test -> reporter_callback (test );
2398+
23952399 /* Send results to client. */
23962400 if (send_results (test ) < 0 )
23972401 return -1 ;
@@ -4553,6 +4557,7 @@ iperf_reporter_callback(struct iperf_test *test)
45534557 iperf_print_intermediate (test );
45544558 break ;
45554559 case TEST_END :
4560+ case EXCHANGE_RESULTS :
45564561 case DISPLAY_RESULTS :
45574562 iperf_print_intermediate (test );
45584563 iperf_print_results (test );
Original file line number Diff line number Diff line change @@ -281,7 +281,6 @@ iperf_handle_message_server(struct iperf_test *test)
281281 return -1 ;
282282 if (iperf_set_send_state (test , DISPLAY_RESULTS ) != 0 )
283283 return -1 ;
284- test -> reporter_callback (test );
285284 if (test -> on_test_finish )
286285 test -> on_test_finish (test );
287286 break ;
You can’t perform that action at this time.
0 commit comments