From: Denis Vlasenko Date: Thu, 4 Dec 2008 12:15:19 +0000 (-0000) Subject: iproute: fix ipXXX utilities trying to parse their applet name X-Git-Tag: 1_14_0~409 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3246c0de12efe901661cceca76c94ac00aae661e;p=oweals%2Fbusybox.git iproute: fix ipXXX utilities trying to parse their applet name as their 1st parameter. --- diff --git a/networking/ip.c b/networking/ip.c index 10059c55f..9903c6800 100644 --- a/networking/ip.c +++ b/networking/ip.c @@ -31,7 +31,7 @@ static int NORETURN ip_print_help(char **argv UNUSED_PARAM) 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); }