From 0df7db3cf431d88953cda6220e76ece39bd0c344 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 17 Feb 2012 08:17:09 -0800 Subject: [PATCH] arpd: allow configuring polling interval A new option -p is added to the arpd command that accepts a time indicating the number of seconds to wait between kernel arp table polling attempts. The minimum value is .1 (100ms). If not specified, polling defaults to 30 seconds. Patch by Erik Hugne with modifications --- man/man8/arpd.8 | 5 ++++- misc/arpd.c | 14 +++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/man/man8/arpd.8 b/man/man8/arpd.8 index 37b6ba4..a14044b 100644 --- a/man/man8/arpd.8 +++ b/man/man8/arpd.8 @@ -4,7 +4,7 @@ arpd \- userspace arp daemon. .SH SYNOPSIS -Usage: arpd [ -lkh? ] [ -a N ] [ -b dbase ] [ -B number ] [ -f file ] [ -n time ] [ -R rate ] [ interfaces ] +Usage: arpd [ -lkh? ] [ -a N ] [ -b dbase ] [ -B number ] [ -f file ] [-p interval ] [ -n time ] [ -R rate ] [ interfaces ] .SH DESCRIPTION The @@ -34,6 +34,9 @@ Suppress sending broadcast queries by kernel. It takes sense together with optio -n