From 462a4e2b5b14891ff4e8a56755ee11bd89e78676 Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Thu, 9 May 2019 16:11:32 -0700 Subject: [PATCH] detect/analyzer: Improve warning message This changeset modifies the warning printed when a rule is determined to detect in both directions. --- src/detect-engine-analyzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect-engine-analyzer.c b/src/detect-engine-analyzer.c index 0e75b684f8..c2d37b7c68 100644 --- a/src/detect-engine-analyzer.c +++ b/src/detect-engine-analyzer.c @@ -1299,7 +1299,7 @@ void EngineAnalysisRules(const DetectEngineCtx *de_ctx, fprintf(rule_engine_analysis_FD, " Warning: Rule has no direction indicator.\n"); } if (warn_both_direction) { - fprintf(rule_engine_analysis_FD, " Warning: Rule is inspecting both directions.\n"); + fprintf(rule_engine_analysis_FD, " Warning: Rule is inspecting both the request and the response.\n"); } if (rule_warning == 0) { fprintf(rule_engine_analysis_FD, " No warnings for this rule.\n");