fixed the ispayload inspecting func

remotes/origin/master-1.0.x
Gurvinder Singh 16 years ago committed by Victor Julien
parent 78697ce502
commit 70b53a0293

@ -620,8 +620,10 @@ static int SignatureIsInspectingPayload(DetectEngineCtx *de_ctx, Signature *s) {
goto inspect_payload;
for (; sm != NULL; sm = sm->next)
if (!(sigmatch_table[sm->type].flags & SIGMATCH_PAYLOAD))
return 0;
if (sigmatch_table[sm->type].flags & SIGMATCH_PAYLOAD)
goto inspect_payload;
return 0;
inspect_payload:
if (!(de_ctx->flags & DE_QUIET))

Loading…
Cancel
Save