traceroute: fix option parsing

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2021-02-02 13:48:21 +01:00
parent 808d93c0ec
commit f3a55b306e

View File

@ -896,7 +896,7 @@ traceroute_init(int op, char **argv)
op |= getopt32(argv, "^" op |= getopt32(argv, "^"
OPT_STRING OPT_STRING
"\0" "-1:x-x" /* minimum 1 arg */ "\0" "-1" /* minimum 1 arg */
, &tos_str, &device, &max_ttl_str, &port_str, &nprobes_str , &tos_str, &device, &max_ttl_str, &port_str, &nprobes_str
, &source, &waittime_str, &pausemsecs_str, &first_ttl_str , &source, &waittime_str, &pausemsecs_str, &first_ttl_str
); );