arping: -i should be -I
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 17 Jun 2007 00:36:57 +0000 (00:36 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 17 Jun 2007 00:36:57 +0000 (00:36 -0000)
include/usage.h
networking/arping.c

index 7e23de92d1aaeca35b98d44650304cc50d70d000..f5bd96a477366a72a379f1bdfd46ae54a198c75b 100644 (file)
@@ -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"
 
index d65be815ae09cfed185cc8914022d853a1b553b2..1b260490282baa88f33df4c57a4bf4ee1acc2b23 100644 (file)
@@ -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 */