summaryrefslogtreecommitdiff
path: root/net-mgmt/arpwatch-devel/files/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/arpwatch-devel/files/patch-aj')
-rw-r--r--net-mgmt/arpwatch-devel/files/patch-aj50
1 files changed, 25 insertions, 25 deletions
diff --git a/net-mgmt/arpwatch-devel/files/patch-aj b/net-mgmt/arpwatch-devel/files/patch-aj
index 85e34bf47345..0e8ba51448f7 100644
--- a/net-mgmt/arpwatch-devel/files/patch-aj
+++ b/net-mgmt/arpwatch-devel/files/patch-aj
@@ -1,25 +1,25 @@
---- arpwatch.8.orig Sun Oct 8 21:31:28 2000
-+++ arpwatch.8 Thu Feb 22 22:47:29 2001
-@@ -38,6 +38,9 @@
- .br
- .ti +8
- [
-+.B -m
-+.I email
-+] [
- .B -n
- .IR net [/ width
- ]] [
-@@ -69,6 +72,12 @@
- The
- .B -i
- flag is used to override the default interface.
-+.LP
-+The
-+.B -m
-+flag specifies the address that will receive the emails.
-+The default is
-+.IR root .
- .LP
- The
- .B -n
+--- ../arpwatch.orig/db.h Wed Jun 5 01:39:30 1996
++++ ./db.h Mon Sep 15 14:55:27 2003
+@@ -1,10 +1,21 @@
+ /* @(#) $Header: db.h,v 1.8 96/06/04 22:39:29 leres Exp $ (LBL) */
+
++#define HASHSIZE (2 << 15)
++
+ typedef void (*ent_process)(u_int32_t, u_char *, time_t, char *);
+
+ #ifdef DEBUG
+ void debugdump(void);
+ #endif
+-int ent_add(u_int32_t, u_char *, time_t, char *);
++int ent_add(u_int32_t, u_char *, time_t, char *, char *);
+ int ent_loop(ent_process);
+ void sorteinfo(void);
++
++/* Ethernet info */
++struct einfo {
++ u_char e[6]; /* ether address */
++ char h[34]; /* simple hostname */
++ time_t t; /* timestamp */
++ char iface[10]; /* interface name */
++};
++