detect/pcre: set app proto correctly when using modifiers

pull/5000/head
Victor Julien 5 years ago
parent 9fd56e8430
commit f8f2a2bbc0

@ -902,7 +902,8 @@ static int DetectPcreSetup (DetectEngineCtx *de_ctx, Signature *s, const char *r
alproto != s->alproto) {
goto error;
}
s->alproto = alproto;
if (DetectSignatureSetAppProto(s, alproto) < 0)
goto error;
}
sm_list = parsed_sm_list;
break;

Loading…
Cancel
Save