Fixed initialization issue.
It was causing the server side to mess up after the first test.
This commit is contained in:
parent
a4c1383a77
commit
c06bc78c65
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user