diff --git a/src/detect-engine-mpm.c b/src/detect-engine-mpm.c index 8e0d1e7224..a9b235ffef 100644 --- a/src/detect-engine-mpm.c +++ b/src/detect-engine-mpm.c @@ -808,8 +808,9 @@ static void PopulateMpmAddPatternToMpm(DetectEngineCtx *de_ctx, } /* switch (mpm_sm->type) */ - SCLogDebug("%"PRIu32" adding co->id %"PRIu32" to the mpm phase " - "(s->num %"PRIu32")", s->id, co->id, s->num); + SCLogDebug("%"PRIu32" adding cd->id %"PRIu32" to the mpm phase " + "(s->num %"PRIu32")", s->id, + ((DetectContentData *)mpm_sm->ctx)->id, s->num); } else { SCLogDebug("%"PRIu32" no mpm pattern selected", s->id); } /* else - if (mpm_sm != NULL) */ diff --git a/src/detect-engine-state.c b/src/detect-engine-state.c index 6a710ddf8e..0c0b3a1ecc 100644 --- a/src/detect-engine-state.c +++ b/src/detect-engine-state.c @@ -410,7 +410,7 @@ int DeStateDetectStartDetection(ThreadVars *tv, DetectEngineCtx *de_ctx, } } - SCLogDebug("detection done, store results: sm %p, uri %d, dce %d", hcbd %d, + SCLogDebug("detection done, store results: sm %p, uri %d, dce %d, hcbd %d", sm, umatch, dmatch, hcbdmatch); SCMutexLock(&f->de_state_m);