]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect/rules: Fix copy/paste error 5470/head
authorJeff Lucovsky <jeff@lucovsky.org>
Wed, 23 Sep 2020 12:15:41 +0000 (08:15 -0400)
committerShivani Bhardwaj <shivanib134@gmail.com>
Tue, 6 Oct 2020 07:10:28 +0000 (12:40 +0530)
This commit corrects a copy/paste error handling the `include-mpm-stats`
configuration setting.

(cherry picked from commit db9776af64dfd0872cb4374b01e9871dea2a03b5)

src/detect-engine-build.c

index 3e2e446f1c76563a2b1509bee81dec1b4fdca9b6..f27acd11af522e162ba515730f7711b3807e9aab 100644 (file)
@@ -1822,7 +1822,7 @@ int SigAddressPrepareStage4(DetectEngineCtx *de_ctx)
         int add_rules = 0;
         (void)ConfGetBool("detect.profiling.grouping.include-rules", &add_rules);
         int add_mpm_stats = 0;
-        (void)ConfGetBool("detect.profiling.grouping.include-mpm-stats", &add_rules);
+        (void)ConfGetBool("detect.profiling.grouping.include-mpm-stats", &add_mpm_stats);
 
         RulesDumpGrouping(de_ctx, add_rules, add_mpm_stats);
     }