svn commit: trunk/busybox/networking

aldot at busybox.net aldot at busybox.net
Fri Aug 18 18:29:41 UTC 2006


Author: aldot
Date: 2006-08-18 11:29:40 -0700 (Fri, 18 Aug 2006)
New Revision: 15826

Log:
- typo: s/optarg/nprobes_str; fixes segfault as reported by Raphael HUCK


Modified:
   trunk/busybox/networking/traceroute.c


Changeset:
Modified: trunk/busybox/networking/traceroute.c
===================================================================
--- trunk/busybox/networking/traceroute.c	2006-08-18 17:44:52 UTC (rev 15825)
+++ trunk/busybox/networking/traceroute.c	2006-08-18 18:29:40 UTC (rev 15826)
@@ -1003,7 +1003,7 @@
 	if(port_str)
 		port = (u_short)str2val(port_str, "port", 1, (1 << 16) - 1);
 	if(nprobes_str)
-		nprobes = str2val(optarg, "nprobes", 1, -1);
+		nprobes = str2val(nprobes_str, "nprobes", 1, -1);
 	if(source) {
 	    /*
 	     * set the ip source address of the outbound




More information about the busybox-cvs mailing list