]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect/analyzer: Improve warning message
authorJeff Lucovsky <jeff@lucovsky.org>
Thu, 9 May 2019 23:11:32 +0000 (16:11 -0700)
committerVictor Julien <victor@inliniac.net>
Sat, 18 May 2019 05:31:50 +0000 (07:31 +0200)
This changeset modifies the warning printed when a rule
is determined to detect in both directions.

src/detect-engine-analyzer.c

index 0e75b684f8bd659a402f9c904d36f4ae192004e7..c2d37b7c6882991898214164c283effe69beb8be 100644 (file)
@@ -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");