diff options
author | np <np@FreeBSD.org> | 2013-07-01 17:32:07 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2013-07-01 17:32:07 +0000 |
commit | ec861801466f999d46e6c5b894eb5be49a485ae3 (patch) | |
tree | 2c1242ebfac1fd5c9b311e906f4862e9b7496c1a | |
parent | c43949eb1a2a69db37168796a47bfa81a0c9be3c (diff) | |
download | FreeBSD-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.c | 1 |
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]; |