From: Victor Julien Date: Wed, 6 Mar 2019 14:16:03 +0000 (+0100) Subject: detect/pcre: minor fix to modifiers X-Git-Tag: suricata-4.1.3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3710%2Fhead;p=thirdparty%2Fsuricata.git detect/pcre: minor fix to modifiers Set SIG_FLAG_APPLAYER when setting the alproto to make sure the sig is processed correctly. --- diff --git a/src/detect-pcre.c b/src/detect-pcre.c index 64589e71cd..5eccb61c56 100644 --- a/src/detect-pcre.c +++ b/src/detect-pcre.c @@ -861,6 +861,7 @@ static int DetectPcreSetup (DetectEngineCtx *de_ctx, Signature *s, const char *r goto error; } s->alproto = alproto; + s->flags |= SIG_FLAG_APPLAYER; } sm_list = parsed_sm_list; break;