1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/net-mgmt/arpwatch-devel/files/patch-af
Kirill Ponomarev 486518fcaa This is a development fork of arpwatch. This has been
threaded in order to better deal with the requirements of
multi-interface routers. Information regarding MAC addresses
and interfaces is maintained by the program, and an alert is
issued should a device move between interfaces.  In addition,
event processing has been refactored, and some bugs have been
fixed.

PR:		59180
Submitted by:	Matthew George <mdg@secureworks.net>
Approved by:	portmgr
2004-01-19 23:34:48 +00:00

17 lines
469 B
Plaintext

--- ../arpwatch-2.1a11/arpwatch.h Sat Sep 30 19:40:55 2000
+++ ./arpwatch.h Fri Sep 12 17:01:42 2003
@@ -1,6 +1,7 @@
/* @(#) $Id: arpwatch.h,v 1.29 2000/09/30 23:40:49 leres Exp $ (LBL) */
#define ARPFILE "arp.dat"
+#define ETHERFILE "ether.dat"
#define ETHERCODES "ethercodes.dat"
#define CHECKPOINT (15*60) /* Checkpoint time in seconds */
@@ -40,3 +41,5 @@
#define SPA(ap) ((ap)->arp_spa)
#define TPA(ap) ((ap)->arp_tpa)
#endif
+
+int pcap_thread(char *);