1 Index: arpwatch/arpsnmp.8
2 diff -u arpwatch/arpsnmp.8:1.1.1.1 arpwatch/arpsnmp.8:1.1.1.1.4.1
3 --- arpwatch/arpsnmp.8:1.1.1.1 Tue Apr 17 13:31:36 2001
4 +++ arpwatch/arpsnmp.8 Tue Apr 17 13:49:16 2001
19 flag is used to set the ethernet/ip address database filename.
25 +flag is used to specify the path to the sendmail program.
26 +Any program that takes the option -odi and then text from stdin
27 +can be substituted. This is useful for redirecting reports
28 +to log files instead of mail. (Debian specific)
32 Index: arpwatch/arpsnmp.c
33 diff -u arpwatch/arpsnmp.c:1.1.1.1.2.1 arpwatch/arpsnmp.c:1.1.1.1.2.1.2.1
34 --- arpwatch/arpsnmp.c:1.1.1.1.2.1 Tue Apr 17 13:47:57 2001
35 +++ arpwatch/arpsnmp.c Tue Apr 17 13:49:16 2001
37 __dead void usage(void) __attribute__((volatile));
40 +char *path_sendmail = PATH_SENDMAIL;
51 if ((cp = strrchr(argv[0], '/')) != NULL)
57 + path_sendmail = optarg;
67 + "[-s sendmail_path] "
71 Index: arpwatch/arpwatch.8
72 diff -u arpwatch/arpwatch.8:1.1.1.1 arpwatch/arpwatch.8:1.1.1.1.4.1
73 --- arpwatch/arpwatch.8:1.1.1.1 Tue Apr 17 13:31:36 2001
74 +++ arpwatch/arpwatch.8 Tue Apr 17 13:49:16 2001
89 of reading from the network. In this case,
95 +flag is used to specify the path to the sendmail program.
96 +Any program that takes the option -odi and then text from stdin
97 +can be substituted. This is useful for redirecting reports
98 +to log files instead of mail. (Debian specific)
102 Index: arpwatch/arpwatch.c
103 diff -u arpwatch/arpwatch.c:1.1.1.1.2.1 arpwatch/arpwatch.c:1.1.1.1.2.1.2.1
104 --- arpwatch/arpwatch.c:1.1.1.1.2.1 Tue Apr 17 13:47:57 2001
105 +++ arpwatch/arpwatch.c Tue Apr 17 13:49:16 2001
110 +char *path_sendmail = PATH_SENDMAIL;
127 + path_sendmail = optarg;
139 + "[-s sendmail_path] "
143 Index: arpwatch/report.c
144 diff -u arpwatch/report.c:1.1.1.1 arpwatch/report.c:1.1.1.1.4.1
145 --- arpwatch/report.c:1.1.1.1 Tue Apr 17 13:31:37 2001
146 +++ arpwatch/report.c Tue Apr 17 13:49:16 2001
148 report(register char *title, register u_int32_t a, register u_char *e1,
149 register u_char *e2, register time_t *t1p, register time_t *t2p)
151 + extern char *path_sendmail;
152 register char *cp, *hn;
153 register int fd, pid;
156 char *fmt = "%20s: %s\n";
157 char *watcher = WATCHER;
158 char *watchee = WATCHEE;
159 - char *sendmail = PATH_SENDMAIL;
160 + char *sendmail = path_sendmail;
161 char *unknown = "<unknown>";