From: Tom Peters (thopeter) Date: Tue, 6 Nov 2018 22:00:49 +0000 (-0500) Subject: Merge pull request #1414 in SNORT/snort3 from perfmon_n_option to master X-Git-Tag: 3.0.0-249~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b91d852219aa2a5c0c27308107f075aed00ff76c;p=thirdparty%2Fsnort3.git Merge pull request #1414 in SNORT/snort3 from perfmon_n_option to master Squashed commit of the following: commit 017f98d36281e61b38107fe850a2b148f63c4cc0 Author: Nihal Desai Date: Tue Oct 30 15:42:31 2018 -0400 perfmon: fix issue for report correct stats after passing -n pkts --- diff --git a/src/utils/stats.cc b/src/utils/stats.cc index 50d085b3a..c622d8ade 100644 --- a/src/utils/stats.cc +++ b/src/utils/stats.cc @@ -169,7 +169,7 @@ static void timing_stats() const PegInfo pc_names[] = { - { CountType::SUM, "analyzed", "packets sent to detection" }, + { CountType::NOW, "analyzed", "packets sent to detection" }, { CountType::SUM, "hard_evals", "non-fast pattern rule evaluations" }, { CountType::SUM, "raw_searches", "fast pattern searches in raw packet data" }, { CountType::SUM, "cooked_searches", "fast pattern searches in cooked packet data" },