svn commit: trunk/busybox/networking

vda at busybox.net vda at busybox.net
Thu Dec 4 12:15:19 UTC 2008


Author: vda
Date: 2008-12-04 04:15:19 -0800 (Thu, 04 Dec 2008)
New Revision: 24259

Log:
iproute: fix ipXXX utilities trying to parse their applet name
 as their 1st parameter.



Modified:
   trunk/busybox/networking/ip.c


Changeset:
Modified: trunk/busybox/networking/ip.c
===================================================================
--- trunk/busybox/networking/ip.c	2008-12-04 12:14:57 UTC (rev 24258)
+++ trunk/busybox/networking/ip.c	2008-12-04 12:15:19 UTC (rev 24259)
@@ -31,7 +31,7 @@
 
 static int ip_do(int (*ip_func)(char **argv), char **argv)
 {
-	argv = ip_parse_common_args(argv);
+	argv = ip_parse_common_args(argv + 1);
 	return ip_func(argv);
 }
 




More information about the busybox-cvs mailing list