From 3246c0de12efe901661cceca76c94ac00aae661e Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 4 Dec 2008 12:15:19 +0000 Subject: iproute: fix ipXXX utilities trying to parse their applet name as their 1st parameter. --- networking/ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking') 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); } -- cgit v1.1