summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipcomp.h
diff options
context:
space:
mode:
authorJean-Jacques Bernard-Gundol <jjbg@cvs.openbsd.org>2001-07-17 12:35:36 +0000
committerJean-Jacques Bernard-Gundol <jjbg@cvs.openbsd.org>2001-07-17 12:35:36 +0000
commita29e4b0580797a08bb1568855dac0cbfb1ee60df (patch)
tree98d5b66f8c4852bdd6685cde5d178b9edb8e3a87 /sys/netinet/ip_ipcomp.h
parent5c9c68e2ba8a75c5a8e2827887fb74c5b0c58dd3 (diff)
Use 64 bits integer for ipcomps_ibytes and ipcomps_obytes. 32 bits was
used and it gave strange results with netstat -s. Reported by art@
Diffstat (limited to 'sys/netinet/ip_ipcomp.h')
-rw-r--r--sys/netinet/ip_ipcomp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_ipcomp.h b/sys/netinet/ip_ipcomp.h
index 4379b2a073c..64090947985 100644
--- a/sys/netinet/ip_ipcomp.h
+++ b/sys/netinet/ip_ipcomp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipcomp.h,v 1.2 2001/07/05 08:40:59 angelos Exp $ */
+/* $OpenBSD: ip_ipcomp.h,v 1.3 2001/07/17 12:35:35 jjbg Exp $ */
/*
* Copyright (c) 2001 Jean-Jacques Bernard-Gundol (jj@wabbitt.org)
@@ -44,8 +44,8 @@ struct ipcompstat {
u_int32_t ipcomps_output; /* Output IPcomp packets */
u_int32_t ipcomps_invalid; /* Trying to use an invalid
* TDB */
- u_int32_t ipcomps_ibytes; /* Input bytes */
- u_int32_t ipcomps_obytes; /* Output bytes */
+ u_int64_t ipcomps_ibytes; /* Input bytes */
+ u_int64_t ipcomps_obytes; /* Output bytes */
u_int32_t ipcomps_toobig; /* Packet got larger than
* IP_MAXPACKET */
u_int32_t ipcomps_pdrops; /* Packet blocked due to policy */