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 /networking | |
| parent | e45930e8903cd80de149d6e92f05b8a3f80669cf (diff) | |
| download | busybox-w32-3246c0de12efe901661cceca76c94ac00aae661e.tar.gz busybox-w32-3246c0de12efe901661cceca76c94ac00aae661e.tar.bz2 busybox-w32-3246c0de12efe901661cceca76c94ac00aae661e.zip | |
iproute: fix ipXXX utilities trying to parse their applet name
as their 1st parameter.
Diffstat (limited to 'networking')
| -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) | |||
| 31 | 31 | ||
| 32 | static int ip_do(int (*ip_func)(char **argv), char **argv) | 32 | static int ip_do(int (*ip_func)(char **argv), char **argv) |
| 33 | { | 33 | { |
| 34 | argv = ip_parse_common_args(argv); | 34 | argv = ip_parse_common_args(argv + 1); |
| 35 | return ip_func(argv); | 35 | return ip_func(argv); |
| 36 | } | 36 | } |
| 37 | 37 | ||
