Skip to content

Commit 82455c8

Browse files
Merge pull request #88 from kevinGC/reuseaddr
add --reuseaddr to rr binaries
2 parents 8c35a30 + 1fc2ea5 commit 82455c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

define_all_flags.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ struct flags_parser *add_flags_rr(struct flags_parser *fp)
9393
DEFINE_FLAG(fp, struct percentiles, percentiles, {}, 'p', "Set reported latency percentiles (list)");
9494
DEFINE_FLAG_PARSER(fp, percentiles, percentiles_parse);
9595
DEFINE_FLAG_PRINTER(fp, percentiles, percentiles_print);
96-
DEFINE_FLAG(fp, int, test_length, 10, 'l', "Test length, >0 seconds, <0 transactions");
97-
DEFINE_FLAG(fp, int, buffer_size, 65536, 'B', "Number of bytes that each read()/send() can transfer at once");
96+
DEFINE_FLAG(fp, int, test_length, 10, 'l', "Test length, >0 seconds, <0 transactions");
97+
DEFINE_FLAG(fp, int, buffer_size, 65536, 'B', "Number of bytes that each read()/send() can transfer at once");
98+
DEFINE_FLAG(fp, bool, reuseaddr, false, 'R', "Use SO_REUSEADDR on sockets");
9899

99100
/* Return the updated fp */
100101
return (fp);

0 commit comments

Comments
 (0)