diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-17 00:36:57 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-17 00:36:57 +0000 |
commit | ea9e798004ab2c4022ccb54c2d8effbe25b7b122 (patch) | |
tree | 76571f91a5458c4311c9b4dd7cb31c70445812e9 | |
parent | a6163ca355464b34513723b82ba24f0d001d8332 (diff) | |
download | busybox-w32-ea9e798004ab2c4022ccb54c2d8effbe25b7b122.tar.gz busybox-w32-ea9e798004ab2c4022ccb54c2d8effbe25b7b122.tar.bz2 busybox-w32-ea9e798004ab2c4022ccb54c2d8effbe25b7b122.zip |
arping: -i should be -I
-rw-r--r-- | include/usage.h | 2 | ||||
-rw-r--r-- | networking/arping.c | 2 |
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 @@ | |||
88 | " -A ARP answer mode, update your neighbours\n" \ | 88 | " -A ARP answer mode, update your neighbours\n" \ |
89 | " -c count Stop after sending count ARP request packets\n" \ | 89 | " -c count Stop after sending count ARP request packets\n" \ |
90 | " -w timeout Time to wait for ARP reply, in seconds\n" \ | 90 | " -w timeout Time to wait for ARP reply, in seconds\n" \ |
91 | " -i device Outgoing interface name, default is eth0\n" \ | 91 | " -I device Outgoing interface name, default is eth0\n" \ |
92 | " -s sender Set specific sender IP address\n" \ | 92 | " -s sender Set specific sender IP address\n" \ |
93 | " target Target IP address of ARP request" | 93 | " target Target IP address of ARP request" |
94 | 94 | ||
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) | |||
259 | * Advert also sets unsolicited. | 259 | * Advert also sets unsolicited. |
260 | */ | 260 | */ |
261 | opt_complementary = "Df:AU"; | 261 | opt_complementary = "Df:AU"; |
262 | opt = getopt32(argc, argv, "DUAqfbc:w:i:s:", | 262 | opt = getopt32(argc, argv, "DUAqfbc:w:I:s:", |
263 | &_count, &_timeout, &device, &source); | 263 | &_count, &_timeout, &device, &source); |
264 | cfg |= opt & 0x3f; /* set respective flags */ | 264 | cfg |= opt & 0x3f; /* set respective flags */ |
265 | if (opt & 0x40) /* -c: count */ | 265 | if (opt & 0x40) /* -c: count */ |