1
1

Merge branch 'master' of github.com:/esnet/iperf

Этот коммит содержится в:
Bruce A. Mah 2017-10-12 10:57:24 -07:00
родитель 98fb0b80f1 1460aa3433
Коммит f016bdc4c0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4984910A8CAAEE8A

Просмотреть файл

@ -1467,8 +1467,7 @@ send_parameters(struct iperf_test *test)
cJSON_AddNumberToObject(j, "omit", test->omit);
if (test->server_affinity != -1)
cJSON_AddNumberToObject(j, "server_affinity", test->server_affinity);
if (test->duration)
cJSON_AddNumberToObject(j, "time", test->duration);
cJSON_AddNumberToObject(j, "time", test->duration);
if (test->settings->bytes)
cJSON_AddNumberToObject(j, "num", test->settings->bytes);
if (test->settings->blocks)
@ -2305,6 +2304,8 @@ iperf_reset_test(struct iperf_test *test)
test->settings->rate = 0;
test->settings->burst = 0;
test->settings->mss = 0;
test->settings->tos = 0;
test->settings->authtoken = NULL;
memset(test->cookie, 0, COOKIE_SIZE);
test->multisend = 10; /* arbitrary */
test->udp_counters_64bit = 0;