From: Jeff Lucovsky Date: Thu, 9 May 2019 23:11:32 +0000 (-0700) Subject: detect/analyzer: Improve warning message X-Git-Tag: suricata-5.0.0-rc1~476 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=462a4e2b5b14891ff4e8a56755ee11bd89e78676;p=thirdparty%2Fsuricata.git detect/analyzer: Improve warning message This changeset modifies the warning printed when a rule is determined to detect in both directions. --- 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");