diff options
Diffstat (limited to 'net/arpwatch/patches/patch-ac')
-rw-r--r-- | net/arpwatch/patches/patch-ac | 47 |
1 files changed, 34 insertions, 13 deletions
diff --git a/net/arpwatch/patches/patch-ac b/net/arpwatch/patches/patch-ac index cd80f29e69d..bb556ea18e1 100644 --- a/net/arpwatch/patches/patch-ac +++ b/net/arpwatch/patches/patch-ac @@ -1,14 +1,35 @@ -$NetBSD: patch-ac,v 1.4 1999/11/19 12:32:27 agc Exp $ +$NetBSD: patch-ac,v 1.5 2001/08/24 11:37:08 abs Exp $ ---- arpwatch.h.orig Fri Nov 19 12:22:02 1999 -+++ arpwatch.h Fri Nov 19 12:22:02 1999 -@@ -1,7 +1,9 @@ - /* @(#) Header: arpwatch.h,v 1.28 98/02/09 16:35:15 leres Exp (LBL) */ - - #define ARPFILE "arp.dat" -+#ifndef ETHERCODES - #define ETHERCODES "ethercodes.dat" -+#endif - #define CHECKPOINT (15*60) /* Checkpoint time in seconds */ - - #define MEMCMP(a, b, n) memcmp((char *)a, (char *)b, n) +--- arpwatch.8.orig Sun Oct 8 21:31:28 2000 ++++ arpwatch.8 +@@ -27,6 +27,8 @@ + .na + .B arpwatch + [ ++.B -a ++] [ + .B -dN + ] [ + .B -f +@@ -55,6 +57,12 @@ + to listen for arp packets on a local ethernet interface. + .LP + The ++.B -a ++flag supress check for local network. By default, arp traffic for IP addresses ++which don't belong to the local network are logged as bogons, and not added ++to the database. ++.LP ++The + .B -d + flag is used enable debugging. This also inhibits forking into the + background and emailing the reports. Instead, they are sent to +@@ -152,7 +160,7 @@ + .na + .nh + .nf +-/usr/operator/arpwatch - default directory ++/var/db/arpwatch - default directory + arp.dat - ethernet/ip address database + ethercodes.dat - vendor ethernet block list + .ad |