iproute: fix ipXXX utilities trying to parse their applet name

as their 1st parameter.
This commit is contained in:
Denis Vlasenko 2008-12-04 12:15:19 +00:00
parent e45930e890
commit 3246c0de12

View File

@ -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) 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); return ip_func(argv);
} }