traceroute: allow -w NUM as small as 1
This commit is contained in:
parent
766c10c386
commit
bdea2c06dc
@ -652,7 +652,7 @@ int traceroute_main(int argc, char **argv)
|
|||||||
bb_error_msg_and_die("you must be root to use -s");
|
bb_error_msg_and_die("you must be root to use -s");
|
||||||
}
|
}
|
||||||
if (op & OPT_WAITTIME)
|
if (op & OPT_WAITTIME)
|
||||||
waittime = xatou_range(waittime_str, 2, 24 * 60 * 60);
|
waittime = xatou_range(waittime_str, 1, 24 * 60 * 60);
|
||||||
if (op & OPT_PAUSE_MS)
|
if (op & OPT_PAUSE_MS)
|
||||||
pausemsecs = xatou_range(pausemsecs_str, 0, 60 * 60 * 1000);
|
pausemsecs = xatou_range(pausemsecs_str, 0, 60 * 60 * 1000);
|
||||||
if (op & OPT_FIRST_TTL)
|
if (op & OPT_FIRST_TTL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user