summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2013-07-01 17:32:07 +0000
committernp <np@FreeBSD.org>2013-07-01 17:32:07 +0000
commitec861801466f999d46e6c5b894eb5be49a485ae3 (patch)
tree2c1242ebfac1fd5c9b311e906f4862e9b7496c1a
parentc43949eb1a2a69db37168796a47bfa81a0c9be3c (diff)
downloadFreeBSD-src-ec861801466f999d46e6c5b894eb5be49a485ae3.zip
FreeBSD-src-ec861801466f999d46e6c5b894eb5be49a485ae3.tar.gz
Count the number of hits for a filter by default.
MFC after: 3 days
-rw-r--r--tools/tools/cxgbetool/cxgbetool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/tools/cxgbetool/cxgbetool.c b/tools/tools/cxgbetool/cxgbetool.c
index 6b90b12..a97cf1f 100644
--- a/tools/tools/cxgbetool/cxgbetool.c
+++ b/tools/tools/cxgbetool/cxgbetool.c
@@ -965,6 +965,7 @@ set_filter(uint32_t idx, int argc, const char *argv[])
};
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];
OpenPOWER on IntegriCloud