diff --git a/src/RuleMatcher.cc b/src/RuleMatcher.cc index 88779f0050..340e6d5098 100644 --- a/src/RuleMatcher.cc +++ b/src/RuleMatcher.cc @@ -732,7 +732,7 @@ RuleEndpointState* RuleMatcher::InitEndpoint(analyzer::Analyzer* analyzer, // pattern matching to do. if ( hdr_test->level <= RE_level ) { - for ( int i = 0; i < Rule::TYPES; ++i ) + for ( int i = Rule::PAYLOAD; i < Rule::TYPES; ++i ) { for ( const auto& set : hdr_test->psets[i] ) {