commit | 04d3c5cd1f5b960cca0c2d38ef547c790cf45920 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Mar 16 14:49:33 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 16 15:09:54 2022 +0100 |
tree | b4b784a18cb001ce343dc67cae4e407f6c081ddf | |
parent | 53fa787a076e6d9de5a3a7eb9a6b1bbc0831723b [diff] |
DEV: udp: switch parser to getopt() instead of positional arguments In order to ease addition of new types of perturbations to udp-perturb, let's first switch to getopt() and get rid of the positional arguments. The random seed was already a conditional option of the rate which was a conditional option as well. We add -r and -s for the rate and the seed, and new options will follow.