Always send omit client->server, otherwise omit==0 doesn't work.

This commit is contained in:
Jef Poskanzer 2013-10-22 13:55:56 -07:00
parent 965d8d7688
commit ea5d93b241

View File

@ -987,8 +987,7 @@ send_parameters(struct iperf_test *test)
cJSON_AddTrueToObject(j, "tcp");
else if (test->protocol->id == Pudp)
cJSON_AddTrueToObject(j, "udp");
if (test->omit)
cJSON_AddIntToObject(j, "omit", test->omit);
cJSON_AddIntToObject(j, "omit", test->omit);
if (test->duration)
cJSON_AddIntToObject(j, "time", test->duration);
if (test->settings->bytes)