aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ehnt
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-05-24 17:06:59 +0800
committerkrion <krion@FreeBSD.org>2004-05-24 17:06:59 +0800
commit527d561b56f791e2161d56986f6dbbfc17648bc4 (patch)
treed8d6a7878b52b7da5309fb6ac3b7a837089e3642 /net-mgmt/ehnt
parent0c341a8e297f87185fd289951428d469757961d7 (diff)
downloadfreebsd-ports-gnome-527d561b56f791e2161d56986f6dbbfc17648bc4.tar.gz
freebsd-ports-gnome-527d561b56f791e2161d56986f6dbbfc17648bc4.tar.zst
freebsd-ports-gnome-527d561b56f791e2161d56986f6dbbfc17648bc4.zip
- Add missing patch
Diffstat (limited to 'net-mgmt/ehnt')
-rw-r--r--net-mgmt/ehnt/files/patch-ehnt__main.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/net-mgmt/ehnt/files/patch-ehnt__main.c b/net-mgmt/ehnt/files/patch-ehnt__main.c
new file mode 100644
index 000000000000..53e4f8408e58
--- /dev/null
+++ b/net-mgmt/ehnt/files/patch-ehnt__main.c
@@ -0,0 +1,28 @@
+
+$FreeBSD$
+
+--- ehnt_main.c.orig Thu Oct 4 22:18:29 2001
++++ ehnt_main.c Mon May 24 12:03:14 2004
+@@ -228,14 +228,15 @@
+ e_dat.recentmin=(int)(ts->tm_min + (ts->tm_hour*60) + (ts->tm_yday * 60 * 24));
+ }
+
+- NewStats(e_dat.stats);
+-
+- Init_ASN_Lookups();
++ if (e_cfg.mode != EM_COLONDUMP) {
++ NewStats(e_dat.stats);
++ Init_ASN_Lookups();
+
+- /* ehnt_client (in ehnt_client.c) connects to the server, then loops forever,
+- calling ProcessPacket for each incoming flow. */
+- printf("Using report interval of %d minute(s)\n",e_cfg.si);
+- printf("Starting. Hit '?' for help with keys.\r");
++ /* ehnt_client (in ehnt_client.c) connects to the server, then loops forever,
++ calling ProcessPacket for each incoming flow. */
++ printf("Using report interval of %d minute(s)\n",e_cfg.si);
++ printf("Starting. Hit '?' for help with keys.\r");
++ }
+
+ ehnt_client(e_cfg.servername,e_cfg.serverport,&my_ehnt_struct);
+ }