Skip to content

Commit

Permalink
Issue 1770 - not limit omit time
Browse files Browse the repository at this point in the history
  • Loading branch information
davidBar-On committed Sep 20, 2024
1 parent 62f3fb2 commit 31b63a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iperf_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ iperf_parse_arguments(struct iperf_test *test, int argc, char **argv)
break;
case 'O':
test->omit = atoi(optarg);
if (test->omit < 0 || test->omit > 60) {
if (test->omit < 0 || test->omit > MAX_TIME) {
i_errno = IEOMIT;
return -1;
}
Expand Down

0 comments on commit 31b63a0

Please sign in to comment.