]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1414 in SNORT/snort3 from perfmon_n_option to master
authorTom Peters (thopeter) <thopeter@cisco.com>
Tue, 6 Nov 2018 22:00:49 +0000 (17:00 -0500)
committerTom Peters (thopeter) <thopeter@cisco.com>
Tue, 6 Nov 2018 22:00:49 +0000 (17:00 -0500)
Squashed commit of the following:

commit 017f98d36281e61b38107fe850a2b148f63c4cc0
Author: Nihal Desai <nihdesai@cisco.com>
Date:   Tue Oct 30 15:42:31 2018 -0400

    perfmon: fix issue for report correct stats after passing -n pkts

src/utils/stats.cc

index 50d085b3ade3011bdbcd890152a9b6c44f21be5c..c622d8ade15437a2c4d948b5a8e07ab2d9a844d7 100644 (file)
@@ -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" },