detect/analyzer: Improve warning message

This changeset modifies the warning printed when a rule
is determined to detect in both directions.
pull/3868/head
Jeff Lucovsky 6 years ago committed by Victor Julien
parent 5d76f0897c
commit 462a4e2b5b

@ -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");

Loading…
Cancel
Save