summaryrefslogtreecommitdiff
path: root/net-mgmt/ehnt/files/patch-ehnt.h
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2004-06-23 12:01:33 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2004-06-23 12:01:33 +0000
commit79c3a398f469d146fb0eedbae6b08cb6a237bb65 (patch)
tree2291def8660a02a883fa9d8a596b2a831dfe6f50 /net-mgmt/ehnt/files/patch-ehnt.h
parentreword gallery entry (diff)
Make small improvement: print packets per second in topmode.
Original patch from: Gleb Smirnoff <glebius@cell.sick.ru> Fixed patch from, approved by: Dmitry Morozovsky <marck@rinet.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=112043
Diffstat (limited to 'net-mgmt/ehnt/files/patch-ehnt.h')
-rw-r--r--net-mgmt/ehnt/files/patch-ehnt.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/net-mgmt/ehnt/files/patch-ehnt.h b/net-mgmt/ehnt/files/patch-ehnt.h
index 01c7f6df9ae7..d5e9ab288c67 100644
--- a/net-mgmt/ehnt/files/patch-ehnt.h
+++ b/net-mgmt/ehnt/files/patch-ehnt.h
@@ -2,8 +2,16 @@
$FreeBSD$
--- ehnt.h.orig Thu Oct 4 22:18:29 2001
-+++ ehnt.h Thu May 20 16:07:24 2004
-@@ -93,7 +93,7 @@
++++ ehnt.h Wed Jun 23 14:35:08 2004
+@@ -59,6 +59,7 @@
+
+ struct ehnt_stats {
+ double InBoundTotal, OutBoundTotal;
++ double InBoundTotalPkts, OutBoundTotalPkts;
+ double *InBoundSrcAS, *InBoundDstAS, *OutBoundSrcAS, *OutBoundDstAS;
+ double *InBoundProto, *OutBoundProto;
+ double *InBoundSrcTcpPort, *InBoundDstTcpPort,
+@@ -93,7 +94,7 @@
int ProcessFlow(struct flow_ver5_rec *, struct in_addr *, struct ehnt_struct *);
int Init_ASN_Lookups(void);
char * ASN_Lookup(int);