From 486518fcaaa4b373ad28bfaa87b26523a50d9cd2 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Mon, 19 Jan 2004 23:34:48 +0000 Subject: 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 Approved by: portmgr --- net/arpwatch-devel/files/patch-ao | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 net/arpwatch-devel/files/patch-ao (limited to 'net/arpwatch-devel/files/patch-ao') diff --git a/net/arpwatch-devel/files/patch-ao b/net/arpwatch-devel/files/patch-ao new file mode 100644 index 000000000000..2472b9f35f7c --- /dev/null +++ b/net/arpwatch-devel/files/patch-ao @@ -0,0 +1,20 @@ +--- ../arpwatch.orig/report.h Wed Jun 5 01:40:54 1996 ++++ ./report.h Mon Sep 15 15:03:20 2003 +@@ -1,3 +1,16 @@ + /* @(#) $Header: report.h,v 1.3 96/06/04 22:40:53 leres Exp $ (LBL) */ + +-void report(char *, u_int32_t, u_char *, u_char *, time_t *, time_t *); ++ ++typedef enum ++ { ++ ETHER_NEW=1, ++ ETHER_IFCHG=2, ++ ACTIVITY_NEW=4, ++ IP_NEW=8, ++ IP_ETHERCHG=16, ++ IP_ETHER_REUSE=32, ++ FLIPFLOP=64, ++ FLIPFLOP_DECNET=128 ++ } evt_type; ++ ++void report(evt_type, u_int32_t, u_char *, u_char *, time_t *, time_t *, char *, char *); -- cgit v1.2.3