svn commit: r252470 - head/tools/tools/cxgbetool

Navdeep Parhar np at FreeBSD.org
Mon Jul 1 17:32:08 UTC 2013


Author: np
Date: Mon Jul  1 17:32:07 2013
New Revision: 252470
URL: http://svnweb.freebsd.org/changeset/base/252470

Log:
  Count the number of hits for a filter by default.
  
  MFC after:	3 days

Modified:
  head/tools/tools/cxgbetool/cxgbetool.c

Modified: head/tools/tools/cxgbetool/cxgbetool.c
==============================================================================
--- head/tools/tools/cxgbetool/cxgbetool.c	Mon Jul  1 17:31:04 2013	(r252469)
+++ head/tools/tools/cxgbetool/cxgbetool.c	Mon Jul  1 17:32:07 2013	(r252470)
@@ -965,6 +965,7 @@ set_filter(uint32_t idx, int argc, const
 	};
 	bzero(&t, sizeof (t));
 	t.idx = idx;
+	t.fs.hitcnts = 1;
 
 	for (start_arg = 0; start_arg + 2 <= argc; start_arg += 2) {
 		const char **args = &argv[start_arg];


More information about the svn-src-head mailing list