svn commit: trunk/busybox/networking

vda at busybox.net vda at busybox.net
Sat Jan 24 21:23:42 UTC 2009


Author: vda
Date: 2009-01-24 21:23:41 +0000 (Sat, 24 Jan 2009)
New Revision: 25009

Log:
traceroute: allow -w NUM as small as 1



Modified:
   trunk/busybox/networking/traceroute.c


Changeset:
Modified: trunk/busybox/networking/traceroute.c
===================================================================
--- trunk/busybox/networking/traceroute.c	2009-01-24 20:14:24 UTC (rev 25008)
+++ trunk/busybox/networking/traceroute.c	2009-01-24 21:23:41 UTC (rev 25009)
@@ -652,7 +652,7 @@
 			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)



More information about the busybox-cvs mailing list