svn commit: r287195 - head/sys/netpfil/ipfw

Alexander V. Chernikov melifaro at FreeBSD.org
Thu Aug 27 07:53:59 UTC 2015


Author: melifaro
Date: Thu Aug 27 07:53:58 2015
New Revision: 287195
URL: https://svnweb.freebsd.org/changeset/base/287195

Log:
  Fix packets/bytes accounting on i386.
  
  Spotted by:	julian

Modified:
  head/sys/netpfil/ipfw/ip_fw_private.h

Modified: head/sys/netpfil/ipfw/ip_fw_private.h
==============================================================================
--- head/sys/netpfil/ipfw/ip_fw_private.h	Thu Aug 27 07:43:29 2015	(r287194)
+++ head/sys/netpfil/ipfw/ip_fw_private.h	Thu Aug 27 07:53:58 2015	(r287195)
@@ -256,7 +256,7 @@ struct ip_fw {
 	ipfw_insn	cmd[1];		/* storage for commands		*/
 };
 
-#define	IPFW_RULE_CNTR_SIZE	(2 * sizeof(counter_u64_t))
+#define	IPFW_RULE_CNTR_SIZE	(2 * sizeof(uint64_t))
 
 #endif
 


More information about the svn-src-all mailing list