summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2008-12-04 12:15:19 +0000
committerDenis Vlasenko2008-12-04 12:15:19 +0000
commit3246c0de12efe901661cceca76c94ac00aae661e (patch)
treec752168539834507897446b065f5d9719561e439
parente45930e8903cd80de149d6e92f05b8a3f80669cf (diff)
downloadbusybox-3246c0de12efe901661cceca76c94ac00aae661e.zip
busybox-3246c0de12efe901661cceca76c94ac00aae661e.tar.gz
iproute: fix ipXXX utilities trying to parse their applet name
as their 1st parameter.
-rw-r--r--networking/ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ip.c b/networking/ip.c
index 10059c5..9903c68 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);
}