detect-engine: log MPM/SPM matchers being used

pull/2115/head
Justin Viiret 9 years ago committed by Victor Julien
parent c9d0d6f698
commit d807bf4e8a

@ -839,7 +839,9 @@ static DetectEngineCtx *DetectEngineCtxInitReal(int minimal, const char *prefix)
}
de_ctx->mpm_matcher = PatternMatchDefaultMatcher();
SCLogInfo("using MPM matcher: %s", mpm_table[de_ctx->mpm_matcher].name);
de_ctx->spm_matcher = SinglePatternMatchDefaultMatcher();
SCLogInfo("using SPM matcher: %s", spm_table[de_ctx->spm_matcher].name);
de_ctx->spm_global_thread_ctx = SpmInitGlobalThreadCtx(de_ctx->spm_matcher);
if (de_ctx->spm_global_thread_ctx == NULL) {

Loading…
Cancel
Save