aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-06-17 00:36:57 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-06-17 00:36:57 +0000
commitea9e798004ab2c4022ccb54c2d8effbe25b7b122 (patch)
tree76571f91a5458c4311c9b4dd7cb31c70445812e9
parenta6163ca355464b34513723b82ba24f0d001d8332 (diff)
downloadbusybox-ea9e798004ab2c4022ccb54c2d8effbe25b7b122.tar.gz
arping: -i should be -I
-rw-r--r--include/usage.h2
-rw-r--r--networking/arping.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index 7e23de92d..f5bd96a47 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -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"
diff --git a/networking/arping.c b/networking/arping.c
index d65be815a..1b2604902 100644
--- a/networking/arping.c
+++ b/networking/arping.c
@@ -259,7 +259,7 @@ int arping_main(int argc, char **argv)
* 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 */