diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-05-24 09:06:59 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-05-24 09:06:59 +0000 |
commit | b882542d760e74603f0071eca4e42e508618282d (patch) | |
tree | a76e27b5810394a1d5fdd4b1d7f45edf064ccf1f /net-mgmt/ehnt | |
parent | 2bcc01a77cd2bb9960ea172a5542ebf1e534e424 (diff) | |
download | ports-b882542d760e74603f0071eca4e42e508618282d.tar.gz ports-b882542d760e74603f0071eca4e42e508618282d.zip |
Notes
Diffstat (limited to 'net-mgmt/ehnt')
-rw-r--r-- | net-mgmt/ehnt/files/patch-ehnt__main.c | 28 |
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); + } |