1 Index: arpwatch/arpsnmp.8
2 diff -u arpwatch/arpsnmp.8:1.1.1.1.2.1 arpwatch/arpsnmp.8:1.1.1.1.4.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:23:48 2004
26 +flag is used to specify the path to the sendmail program.
27 +Any program that takes the option -odi and then text from stdin
28 +can be substituted. This is useful for redirecting reports
29 +to log files instead of mail.
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.2.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:16:17 2004
41 __dead void usage(void) __attribute__((volatile));
44 +char *path_sendmail = PATH_SENDMAIL;
55 if ((cp = strrchr(argv[0], '/')) != NULL)
61 + path_sendmail = optarg;
71 + "[-s sendmail_path] "
75 Index: arpwatch/arpwatch.8
76 diff -u arpwatch/arpwatch.8:1.1.1.1.2.2 arpwatch/arpwatch.8:1.1.1.1.4.5
77 --- arpwatch/arpwatch.8:1.1.1.1.2.2 Thu Aug 12 22:31:09 2004
78 +++ arpwatch/arpwatch.8 Thu Aug 12 22:35:07 2004
100 +flag is used to specify the path to the sendmail program.
101 +Any program that takes the option -odi and then text from stdin
102 +can be substituted. This is useful for redirecting reports
103 +to log files instead of mail.
109 file must be created before the first time you run
110 Index: arpwatch/arpwatch.c
111 diff -u arpwatch/arpwatch.c:1.1.1.1.2.5 arpwatch/arpwatch.c:1.1.1.1.2.1.2.3
112 --- arpwatch/arpwatch.c:1.1.1.1.2.5 Sat Aug 14 02:33:07 2004
113 +++ arpwatch/arpwatch.c Fri Aug 13 00:12:22 2004
118 +char *path_sendmail = PATH_SENDMAIL;
137 + path_sendmail = optarg;
148 + "[-s sendmail_path] "
154 Index: arpwatch/report.c
155 diff -u arpwatch/report.c:1.1.1.1 arpwatch/report.c:1.1.1.1.4.1
156 --- arpwatch/report.c:1.1.1.1 Tue Apr 17 13:31:37 2001
157 +++ arpwatch/report.c Tue Apr 17 13:49:16 2001
159 report(register char *title, register u_int32_t a, register u_char *e1,
160 register u_char *e2, register time_t *t1p, register time_t *t2p)
162 + extern char *path_sendmail;
163 register char *cp, *hn;
164 register int fd, pid;
167 char *fmt = "%20s: %s\n";
168 char *watcher = WATCHER;
169 char *watchee = WATCHEE;
170 - char *sendmail = PATH_SENDMAIL;
171 + char *sendmail = path_sendmail;
172 char *unknown = "<unknown>";