Fixed initialization issue.

It was causing the server side to mess up after the first test.
This commit is contained in:
Jef Poskanzer 2013-12-05 12:00:46 -08:00
parent a4c1383a77
commit c06bc78c65
2 changed files with 2 additions and 0 deletions

View File

@ -1516,6 +1516,7 @@ iperf_reset_test(struct iperf_test *test)
tmr_cancel(test->reporter_timer);
test->reporter_timer = NULL;
}
test->done = 0;
SLIST_INIT(&test->streams);

View File

@ -247,6 +247,7 @@ iperf_test_reset(struct iperf_test *test)
tmr_cancel(test->reporter_timer);
test->reporter_timer = NULL;
}
test->done = 0;
SLIST_INIT(&test->streams);