From b9abdb4f5c1e320cf38a50b96a4144966c7901f9 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 a0af61568d..fb3392be94 100644 --- a/src/detect-engine-build.c +++ b/src/detect-engine-build.c @@ -1806,7 +1806,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