From 3c245f2f4654e6a984a17f53910ae4846bd0b16e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Mo=C5=84?= Date: Tue, 24 Sep 2019 17:41:11 +0200 Subject: [PATCH] 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 Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte --- extcap/randpktdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",