arping: -i should be -I
This commit is contained in:
parent
a6163ca355
commit
ea9e798004
@ -88,7 +88,7 @@
|
|||||||
" -A ARP answer mode, update your neighbours\n" \
|
" -A ARP answer mode, update your neighbours\n" \
|
||||||
" -c count Stop after sending count ARP request packets\n" \
|
" -c count Stop after sending count ARP request packets\n" \
|
||||||
" -w timeout Time to wait for ARP reply, in seconds\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" \
|
" -s sender Set specific sender IP address\n" \
|
||||||
" target Target IP address of ARP request"
|
" target Target IP address of ARP request"
|
||||||
|
|
||||||
|
@ -259,7 +259,7 @@ int arping_main(int argc, char **argv)
|
|||||||
* Advert also sets unsolicited.
|
* Advert also sets unsolicited.
|
||||||
*/
|
*/
|
||||||
opt_complementary = "Df:AU";
|
opt_complementary = "Df:AU";
|
||||||
opt = getopt32(argc, argv, "DUAqfbc:w:i:s:",
|
opt = getopt32(argc, argv, "DUAqfbc:w:I:s:",
|
||||||
&_count, &_timeout, &device, &source);
|
&_count, &_timeout, &device, &source);
|
||||||
cfg |= opt & 0x3f; /* set respective flags */
|
cfg |= opt & 0x3f; /* set respective flags */
|
||||||
if (opt & 0x40) /* -c: count */
|
if (opt & 0x40) /* -c: count */
|
||||||
|
Loading…
Reference in New Issue
Block a user