iproute2: arpd - fix usage and manpage options

Signed-off-by: Petr Sabata <contyk@redhat.com>
This commit is contained in:
Petr Sabata 2011-10-06 14:45:34 +02:00 committed by Stephen Hemminger
parent 7e8bd80e38
commit 281d740691
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
arpd \- userspace arp daemon. arpd \- userspace arp daemon.
.SH SYNOPSIS .SH SYNOPSIS
Usage: arpd [ -lk ] [ -a N ] [ -b dbase ] [ -f file ] [ interfaces ] Usage: arpd [ -lkh? ] [ -a N ] [ -b dbase ] [ -B number ] [ -f file ] [ -n time ] [ -R rate ] [ interfaces ]
.SH DESCRIPTION .SH DESCRIPTION
The The
@ -34,7 +34,7 @@ Suppress sending broadcast queries by kernel. It takes sense together with optio
-n <TIME> -n <TIME>
Timeout of negative cache. When resolution fails arpd suppresses further attempts to resolve for this period. It makes sense only together with option -k This timeout should not be too much longer than boot time of a typical host not supporting gratuitous ARP. Default value is 60 seconds. Timeout of negative cache. When resolution fails arpd suppresses further attempts to resolve for this period. It makes sense only together with option -k This timeout should not be too much longer than boot time of a typical host not supporting gratuitous ARP. Default value is 60 seconds.
.TP .TP
-r <RATE> -R <RATE>
Maximal steady rate of broadcasts sent by arpd in packets per second. Default value is 1. Maximal steady rate of broadcasts sent by arpd in packets per second. Default value is 1.
.TP .TP
-B <NUMBER> -B <NUMBER>

View File

@ -94,7 +94,7 @@ int broadcast_burst = 3000;
void usage(void) void usage(void)
{ {
fprintf(stderr, fprintf(stderr,
"Usage: arpd [ -lk ] [ -a N ] [ -b dbase ] [ -f file ] [ interfaces ]\n"); "Usage: arpd [ -lkh? ] [ -a N ] [ -b dbase ] [ -B number ] [ -f file ] [ -n time ] [ -R rate ] [ interfaces ]\n");
exit(1); exit(1);
} }