randpktdump: Remove misleading tooltip
The number of packets to generate is unsigned and always finite. The code supports 64 bits integers as the count and thus for most use cases (2^64)-1 is good enough alternative for infinite. Change-Id: I9f83002358d0ab11724dce22802390b145e4ac67 Reviewed-on: https://code.wireshark.org/review/34613 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
parent
66ad175c47
commit
3c245f2f46
|
@ -95,7 +95,7 @@ static int list_config(char *interface)
|
||||||
"{type=unsigned}{range=1,5000}{default=5000}{tooltip=The max number of bytes in a packet}\n",
|
"{type=unsigned}{range=1,5000}{default=5000}{tooltip=The max number of bytes in a packet}\n",
|
||||||
inc++);
|
inc++);
|
||||||
printf("arg {number=%u}{call=--count}{display=Number of packets}"
|
printf("arg {number=%u}{call=--count}{display=Number of packets}"
|
||||||
"{type=long}{default=1000}{tooltip=Number of packets to generate (-1 for infinite)}\n",
|
"{type=long}{default=1000}{tooltip=Number of packets to generate}\n",
|
||||||
inc++);
|
inc++);
|
||||||
printf("arg {number=%u}{call=--delay}{display=Packet delay (ms)}"
|
printf("arg {number=%u}{call=--delay}{display=Packet delay (ms)}"
|
||||||
"{type=long}{default=0}{tooltip=Milliseconds to wait after writing each packet}\n",
|
"{type=long}{default=0}{tooltip=Milliseconds to wait after writing each packet}\n",
|
||||||
|
|
Loading…
Reference in New Issue