perfdhcp documentation mismatch regarding -Y/-y
In the man page for perfdhcp man 8 perfdhcp
it gives the following documentation:
-y seconds
Time in seconds after which perfdhcp starts simulating the client waiting longer for server responses. This increases
the secs field in DHCPv4 and sends increased values in the Elapsed Time option in DHCPv6. Must be used with -Y.
-Y seconds
Time in seconds during which perfdhcp simulates the client waiting longer for server responses. This increases the
secs field in DHCPv4 and sends increased values in the Elapsed Time option in DHCPv6. Must be used with -y.
While perfdhcp --help
outputs:
-Y<time>: time in seconds after which perfdhcp will start sending
messages with increased elapsed time option.
-y<time>: period of time in seconds in which perfdhcp will be sending
messages with increased elapsed time option.
Notice how the case of the Y/y is reversed. The content from perfdhcp --help
is the correct content. I found this issue while doing some testing that required the SECS
field to increase and I was having trouble getting it to do so. This issue is present in 2.2.0 and 2.3.3. I did not investigate any other versions.