[git commit] traceroute: fix option parsing

Denys Vlasenko vda.linux at googlemail.com
Tue Feb 2 12:48:21 UTC 2021


commit: https://git.busybox.net/busybox/commit/?id=f3a55b306ed3803133ab028b72b255c65d94197f
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/traceroute.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/networking/traceroute.c b/networking/traceroute.c
index 8f5cd0bf2..057f8591a 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -896,7 +896,7 @@ traceroute_init(int op, char **argv)
 
 	op |= getopt32(argv, "^"
 		OPT_STRING
-		"\0" "-1:x-x" /* minimum 1 arg */
+		"\0" "-1" /* minimum 1 arg */
 		, &tos_str, &device, &max_ttl_str, &port_str, &nprobes_str
 		, &source, &waittime_str, &pausemsecs_str, &first_ttl_str
 	);


More information about the busybox-cvs mailing list