summaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
authorDenis Vlasenko2008-05-31 07:34:14 +0000
committerDenis Vlasenko2008-05-31 07:34:14 +0000
commitd12fcc20dac8415a89898fdaa9bfabaac39e5e33 (patch)
treefca611e3fc499941e4c294fd22edf409fde9f1ed /networking/libiproute
parent3e57adb73198874b3924cb9aa8770193c894b1a9 (diff)
downloadbusybox-d12fcc20dac8415a89898fdaa9bfabaac39e5e33.zip
busybox-d12fcc20dac8415a89898fdaa9bfabaac39e5e33.tar.gz
libiproute: fix option parsing, so that "ip -o link" works again.
closes bug 3524
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/ip_parse_common_args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/ip_parse_common_args.c b/networking/libiproute/ip_parse_common_args.c
index 294bde5..5e4012b 100644
--- a/networking/libiproute/ip_parse_common_args.c
+++ b/networking/libiproute/ip_parse_common_args.c
@@ -54,7 +54,7 @@ char **ip_parse_common_args(char **argv)
break;
}
}
- arg = index_in_strings(ip_common_commands, opt);
+ arg = index_in_substrings(ip_common_commands, opt);
if (arg < 0)
bb_show_usage();
if (arg == ARG_oneline) {