File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2362,6 +2362,10 @@ iperf_exchange_results(struct iperf_test *test)
23622362 /* Get client results. */
23632363 if (get_results (test ) < 0 )
23642364 return -1 ;
2365+
2366+ /* Report results once client's results are received */
2367+ test -> reporter_callback (test );
2368+
23652369 /* Send results to client. */
23662370 if (send_results (test ) < 0 )
23672371 return -1 ;
@@ -4523,6 +4527,7 @@ iperf_reporter_callback(struct iperf_test *test)
45234527 iperf_print_intermediate (test );
45244528 break ;
45254529 case TEST_END :
4530+ case EXCHANGE_RESULTS :
45264531 case DISPLAY_RESULTS :
45274532 iperf_print_intermediate (test );
45284533 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