1 Index: arpwatch/arpsnmp.8
2 diff -u arpwatch/arpsnmp.8:1.1.1.1.2.1 arpwatch/arpsnmp.8:1.1.1.1.12.4
3 --- arpwatch/arpsnmp.8:1.1.1.1.2.1 Thu Aug 12 22:16:18 2004
4 +++ arpwatch/arpsnmp.8 Thu Aug 12 22:50:39 2004
26 +option is used to specify the e-mail address to which reports will be
27 +sent. By default, reports are sent to
29 +on the local machine.
35 file must be created before the first time you run
36 Index: arpwatch/arpsnmp.c
37 diff -u arpwatch/arpsnmp.c:1.1.1.1.2.2 arpwatch/arpsnmp.c:1.1.1.1.2.1.8.2
38 --- arpwatch/arpsnmp.c:1.1.1.1.2.2 Tue Aug 10 11:14:13 2004
39 +++ arpwatch/arpsnmp.c Tue Aug 10 11:17:43 2004
53 + mailaddress = optarg;
60 extern char version[];
67 Index: arpwatch/arpwatch.8
68 diff -u arpwatch/arpwatch.8:1.1.1.1.2.2 arpwatch/arpwatch.8:1.1.1.1.12.4
69 --- arpwatch/arpwatch.8:1.1.1.1.2.2 Thu Aug 12 22:31:09 2004
70 +++ arpwatch/arpwatch.8 Thu Aug 12 22:50:39 2004
101 +option is used to specify the e-mail address to which reports will be
102 +sent. By default, reports are sent to
104 +on the local machine.
110 file must be created before the first time you run
111 Index: arpwatch/arpwatch.c
112 diff -u arpwatch/arpwatch.c:1.1.1.1.2.5 arpwatch/arpwatch.c:1.1.1.1.2.1.8.3
113 --- arpwatch/arpwatch.c:1.1.1.1.2.5 Sat Aug 14 02:33:07 2004
114 +++ arpwatch/arpwatch.c Fri Aug 13 00:22:17 2004
130 + mailaddress = optarg;
147 Index: arpwatch/report.c
148 diff -u arpwatch/report.c:1.1.1.1 arpwatch/report.c:1.1.1.1.12.1
149 --- arpwatch/report.c:1.1.1.1 Tue Apr 17 13:31:37 2001
150 +++ arpwatch/report.c Tue Apr 17 13:54:38 2001
153 char tempfile[64], cpu[64], os[64];
154 char *fmt = "%20s: %s\n";
155 - char *watcher = WATCHER;
156 + char *watcher = mailaddress;
157 char *watchee = WATCHEE;
158 char *sendmail = PATH_SENDMAIL;
159 char *unknown = "<unknown>";
160 Index: arpwatch/util.c
161 diff -u arpwatch/util.c:1.1.1.1.2.2 arpwatch/util.c:1.1.1.1.12.3
162 --- arpwatch/util.c:1.1.1.1.2.2 Fri Aug 13 00:06:49 2004
163 +++ arpwatch/util.c Fri Aug 13 00:22:17 2004
168 +#include "addresses.h"
170 char *arpdir = ARPDIR;
171 char *arpfile = ARPFILE;
173 int initializing = 1; /* true if initializing */
176 +char *mailaddress = WATCHER;
180 /* syslog() helper routine */
182 Index: arpwatch/util.h
183 diff -u arpwatch/util.h:1.1.1.1.2.1 arpwatch/util.h:1.1.1.1.12.2
184 --- arpwatch/util.h:1.1.1.1.2.1 Fri Aug 13 00:06:49 2004
185 +++ arpwatch/util.h Fri Aug 13 00:22:17 2004
187 extern int initializing;
190 +extern char *mailaddress;