aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-24 23:55:34 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-24 23:55:34 +0000
commit581930cc0d35e9c056d5e0ceb1ecc45a84e1458f (patch)
treec9d0c30fb42bec5fe334c382e7e95ec6ab0c39c0 /networking
parentb9a279ba9466d8733261aff1bab0d3ec1031c34c (diff)
downloadbusybox-581930cc0d35e9c056d5e0ceb1ecc45a84e1458f.tar.gz
opt_complementary doesn't like numeric opts :(
Diffstat (limited to 'networking')
-rw-r--r--networking/ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ping.c b/networking/ping.c
index 7d36b7455..d65310789 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -732,7 +732,7 @@ int ping_main(int argc, char **argv)
datalen = DEFDATALEN; /* initialized here rather than in global scope to work around gcc bug */
/* exactly one argument needed, -v and -q don't mix. So do 4, 6 */
- opt_complementary = "=1:q--v:v--q" USE_PING6(":4--6:6--4");
+ opt_complementary = "=1:q--v:v--q";
getopt32(argc, argv, OPT_STRING, &opt_c, &opt_s, &opt_I);
if (option_mask32 & OPT_c) pingcount = xatoul(opt_c); // -c
if (option_mask32 & OPT_s) datalen = xatou16(opt_s); // -s