svn commit: trunk/busybox: include networking

vda at busybox.net vda at busybox.net
Sun Jun 17 00:36:58 UTC 2007


Author: vda
Date: 2007-06-16 17:36:57 -0700 (Sat, 16 Jun 2007)
New Revision: 18839

Log:
arping: -i should be -I



Modified:
   trunk/busybox/include/usage.h
   trunk/busybox/networking/arping.c


Changeset:
Modified: trunk/busybox/include/usage.h
===================================================================
--- trunk/busybox/include/usage.h	2007-06-17 00:35:15 UTC (rev 18838)
+++ trunk/busybox/include/usage.h	2007-06-17 00:36:57 UTC (rev 18839)
@@ -88,7 +88,7 @@
        "	-A		ARP answer mode, update your neighbours\n" \
        "	-c count	Stop after sending count ARP request packets\n" \
        "	-w timeout	Time to wait for ARP reply, in seconds\n" \
-       "	-i device	Outgoing interface name, default is eth0\n" \
+       "	-I device	Outgoing interface name, default is eth0\n" \
        "	-s sender	Set specific sender IP address\n" \
        "	target		Target IP address of ARP request"
 

Modified: trunk/busybox/networking/arping.c
===================================================================
--- trunk/busybox/networking/arping.c	2007-06-17 00:35:15 UTC (rev 18838)
+++ trunk/busybox/networking/arping.c	2007-06-17 00:36:57 UTC (rev 18839)
@@ -259,7 +259,7 @@
 		 * Advert also sets unsolicited.
 		 */
 		opt_complementary = "Df:AU";
-		opt = getopt32(argc, argv, "DUAqfbc:w:i:s:",
+		opt = getopt32(argc, argv, "DUAqfbc:w:I:s:",
 					&_count, &_timeout, &device, &source);
 		cfg |= opt & 0x3f; /* set respective flags */
 		if (opt & 0x40) /* -c: count */




More information about the busybox-cvs mailing list