From c8931b93379e10e6450693413e3603f12bf2a4af Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Wed, 23 Sep 2020 08:15:41 -0400 Subject: [PATCH] detect/rules: Fix copy/paste error This commit corrects a copy/paste error handling the `include-mpm-stats` configuration setting. (cherry picked from commit db9776af64dfd0872cb4374b01e9871dea2a03b5) --- src/detect-engine-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect-engine-build.c b/src/detect-engine-build.c index 3e2e446f1c..f27acd11af 100644 --- a/src/detect-engine-build.c +++ b/src/detect-engine-build.c @@ -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); } -- 2.47.2