traceroute: allow -w NUM as small as 1

This commit is contained in:
Denis Vlasenko 2009-01-24 21:23:41 +00:00
parent 766c10c386
commit bdea2c06dc

View File

@ -652,7 +652,7 @@ int traceroute_main(int argc, char **argv)
bb_error_msg_and_die("you must be root to use -s");
}
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)
pausemsecs = xatou_range(pausemsecs_str, 0, 60 * 60 * 1000);
if (op & OPT_FIRST_TTL)