diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-04 12:15:19 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-04 12:15:19 +0000 |
commit | 3246c0de12efe901661cceca76c94ac00aae661e (patch) | |
tree | c752168539834507897446b065f5d9719561e439 | |
parent | e45930e8903cd80de149d6e92f05b8a3f80669cf (diff) | |
download | busybox-3246c0de12efe901661cceca76c94ac00aae661e.tar.gz |
iproute: fix ipXXX utilities trying to parse their applet name
as their 1st parameter.
-rw-r--r-- | networking/ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |