diff options
author | Tomasz Moń <desowin@gmail.com> | 2019-09-24 17:41:11 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2019-09-24 21:38:31 +0000 |
commit | 3c245f2f4654e6a984a17f53910ae4846bd0b16e (patch) | |
tree | 46592dd64fa39cbf26d53a4897fc6d3c72357937 /extcap | |
parent | 66ad175c47ae8c251a036e735546c3024fb34144 (diff) | |
download | wireshark-3c245f2f4654e6a984a17f53910ae4846bd0b16e.tar.gz wireshark-3c245f2f4654e6a984a17f53910ae4846bd0b16e.tar.bz2 wireshark-3c245f2f4654e6a984a17f53910ae4846bd0b16e.zip |
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>
Diffstat (limited to 'extcap')
-rw-r--r-- | extcap/randpktdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/randpktdump.c b/extcap/randpktdump.c index 5fce4bb28d..659e829be9 100644 --- a/extcap/randpktdump.c +++ b/extcap/randpktdump.c @@ -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", inc++); 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++); printf("arg {number=%u}{call=--delay}{display=Packet delay (ms)}" "{type=long}{default=0}{tooltip=Milliseconds to wait after writing each packet}\n", |