Fix checking if a signature is de-only.

remotes/origin/master-1.0.x
Victor Julien 15 years ago
parent 91c1845b19
commit 4d2f602207

@ -1366,6 +1366,7 @@ static int SignatureIsDEOnly(DetectEngineCtx *de_ctx, Signature *s) {
return 0;
}
sm = s->match;
/* need at least one decode event keyword to be condered decode event. */
for ( ;sm != NULL; sm = sm->next) {
if (sm->type == DETECT_DECODE_EVENT)

Loading…
Cancel
Save