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