traceroute: allow -w NUM as small as 1
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 24 Jan 2009 21:23:41 +0000 (21:23 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 24 Jan 2009 21:23:41 +0000 (21:23 -0000)
networking/traceroute.c

index 244a74d6d28b0f7238bb5299da99719e0b932a61..7284f0022d51facd417c4cd71db3ed07d2b603f8 100644 (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)