summaryrefslogtreecommitdiff
path: root/net/arpwatch/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'net/arpwatch/patches/patch-ae')
-rw-r--r--net/arpwatch/patches/patch-ae20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/arpwatch/patches/patch-ae b/net/arpwatch/patches/patch-ae
new file mode 100644
index 00000000000..e9449e7ea24
--- /dev/null
+++ b/net/arpwatch/patches/patch-ae
@@ -0,0 +1,20 @@
+--- report.c.orig 2000-10-01 01:41:10.000000000 +0200
++++ report.c 2005-10-25 13:07:21.000000000 +0200
+@@ -70,6 +70,8 @@
+
+ #define PLURAL(n) ((n) == 1 || (n) == -1 ? "" : "s")
+
++char *Watcher;
++
+ static int cdepth; /* number of outstanding children */
+
+ static char *fmtdate(time_t);
+@@ -240,7 +242,7 @@
+ register FILE *f;
+ char tempfile[64], cpu[64], os[64];
+ char *fmt = "%20s: %s\n";
+- char *watcher = WATCHER;
++ char *watcher = Watcher ? Watcher : WATCHER;
+ char *watchee = WATCHEE;
+ char *sendmail = PATH_SENDMAIL;
+ char *unknown = "<unknown>";