svn commit: trunk/busybox/networking
vda at busybox.net
vda at busybox.net
Wed Jan 24 23:55:34 UTC 2007
Author: vda
Date: 2007-01-24 15:55:34 -0800 (Wed, 24 Jan 2007)
New Revision: 17514
Log:
opt_complementary doesn't like numeric opts :(
Modified:
trunk/busybox/networking/ping.c
Changeset:
Modified: trunk/busybox/networking/ping.c
===================================================================
--- trunk/busybox/networking/ping.c 2007-01-24 23:53:22 UTC (rev 17513)
+++ trunk/busybox/networking/ping.c 2007-01-24 23:55:34 UTC (rev 17514)
@@ -732,7 +732,7 @@
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
More information about the busybox-cvs
mailing list