mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
iproute: fix ipXXX utilities trying to parse their applet name
as their 1st parameter.
This commit is contained in:
parent
e45930e890
commit
3246c0de12
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user