Skip to content

Commit

Permalink
Fix issue 1662 - not allow negative test duration
Browse files Browse the repository at this point in the history
  • Loading branch information
davidBar-On committed Mar 14, 2024
1 parent c362e1a commit 8b9f2ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iperf.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ struct iperf_test
int bind_port; /* --cport option */
int server_port;
int omit; /* duration of omit period (-O flag) */
int duration; /* total duration of test (-t flag) */
uint32_t duration; /* total duration of test (-t flag) */
char *diskfile_name; /* -F option */
int affinity, server_affinity; /* -A option */
#if defined(HAVE_CPUSET_SETAFFINITY)
Expand Down

0 comments on commit 8b9f2ee

Please sign in to comment.