e77bf460a2
Bump PORTREVISION. PR: 25288 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
39 lines
814 B
Text
39 lines
814 B
Text
--- arpwatch.c.orig Thu Feb 22 22:47:29 2001
|
|
+++ arpwatch.c Thu Feb 22 22:47:29 2001
|
|
@@ -107,6 +107,8 @@
|
|
|
|
char *prog;
|
|
|
|
+char *Watcher = NULL;
|
|
+
|
|
int can_checkpoint;
|
|
int swapped;
|
|
int nobogons;
|
|
@@ -170,7 +172,7 @@
|
|
interface = NULL;
|
|
rfilename = NULL;
|
|
pd = NULL;
|
|
- while ((op = getopt(argc, argv, "df:i:n:Nr:")) != EOF)
|
|
+ while ((op = getopt(argc, argv, "df:i:m:n:Nr:")) != EOF)
|
|
switch (op) {
|
|
|
|
case 'd':
|
|
@@ -202,6 +204,10 @@
|
|
rfilename = optarg;
|
|
break;
|
|
|
|
+ case 'm':
|
|
+ Watcher = optarg;
|
|
+ break;
|
|
+
|
|
default:
|
|
usage();
|
|
}
|
|
@@ -751,6 +757,6 @@
|
|
|
|
(void)fprintf(stderr, "Version %s\n", version);
|
|
(void)fprintf(stderr, "usage: %s [-dN] [-f datafile] [-i interface]"
|
|
- " [-n net[/width]] [-r file]\n", prog);
|
|
+ " [-m email] [-n net[/width]] [-r file]\n", prog);
|
|
exit(1);
|
|
}
|