1 Index: arpwatch/arpsnmp.8
2 diff -u arpwatch/arpsnmp.8:1.1.1.1 arpwatch/arpsnmp.8:1.1.1.1.12.1
3 --- arpwatch/arpsnmp.8:1.1.1.1 Tue Apr 17 13:31:36 2001
4 +++ arpwatch/arpsnmp.8 Tue Apr 17 13:54:38 2001
16 flag is used enable debugging. This also inhibits mailing the reports.
17 Instead, they are sent to
22 +option is used to specify the e-mail address to which reports will be
23 +sent. By default, reports are sent to
25 +on the local machine. (Debian specific)
29 Index: arpwatch/arpsnmp.c
30 diff -u arpwatch/arpsnmp.c:1.1.1.1.2.1 arpwatch/arpsnmp.c:1.1.1.1.2.1.8.1
31 --- arpwatch/arpsnmp.c:1.1.1.1.2.1 Tue Apr 17 13:47:57 2001
32 +++ arpwatch/arpsnmp.c Tue Apr 17 13:54:38 2001
46 + mailaddress = optarg;
53 extern char version[];
60 Index: arpwatch/arpwatch.8
61 diff -u arpwatch/arpwatch.8:1.1.1.1 arpwatch/arpwatch.8:1.1.1.1.12.1
62 --- arpwatch/arpwatch.8:1.1.1.1 Tue Apr 17 13:31:36 2001
63 +++ arpwatch/arpwatch.8 Tue Apr 17 13:54:38 2001
78 flag is used to override the default interface.
82 +option is used to specify the e-mail address to which reports will be
83 +sent. By default, reports are sent to
85 +on the local machine. (Debian specific)
89 Index: arpwatch/arpwatch.c
90 diff -u arpwatch/arpwatch.c:1.1.1.1.2.1 arpwatch/arpwatch.c:1.1.1.1.2.1.8.1
91 --- arpwatch/arpwatch.c:1.1.1.1.2.1 Tue Apr 17 13:47:57 2001
92 +++ arpwatch/arpwatch.c Tue Apr 17 13:54:38 2001
106 + mailaddress = optarg;
120 Index: arpwatch/report.c
121 diff -u arpwatch/report.c:1.1.1.1 arpwatch/report.c:1.1.1.1.12.1
122 --- arpwatch/report.c:1.1.1.1 Tue Apr 17 13:31:37 2001
123 +++ arpwatch/report.c Tue Apr 17 13:54:38 2001
126 char tempfile[64], cpu[64], os[64];
127 char *fmt = "%20s: %s\n";
128 - char *watcher = WATCHER;
129 + char *watcher = mailaddress;
130 char *watchee = WATCHEE;
131 char *sendmail = PATH_SENDMAIL;
132 char *unknown = "<unknown>";
133 Index: arpwatch/util.c
134 diff -u arpwatch/util.c:1.1.1.1 arpwatch/util.c:1.1.1.1.12.1
135 --- arpwatch/util.c:1.1.1.1 Tue Apr 17 13:31:37 2001
136 +++ arpwatch/util.c Tue Apr 17 13:54:38 2001
141 +#include "addresses.h"
143 char *arpdir = ARPDIR;
144 char *arpfile = ARPFILE;
145 char *ethercodes = ETHERCODES;
146 +char *mailaddress = WATCHER;
148 /* Broadcast ethernet addresses */
149 u_char zero[6] = { 0, 0, 0, 0, 0, 0 };
150 Index: arpwatch/util.h
151 diff -u arpwatch/util.h:1.1.1.1 arpwatch/util.h:1.1.1.1.12.1
152 --- arpwatch/util.h:1.1.1.1 Tue Apr 17 13:31:37 2001
153 +++ arpwatch/util.h Tue Apr 17 13:54:38 2001
155 extern char *arpfile;
156 extern char *oldarpfile;
157 extern char *ethercodes;
158 +extern char *mailaddress;
160 extern u_char zero[6];
161 extern u_char allones[6];