From b39405e6d6070df3ffe12ebd91f4432f0142932d Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 6 Mar 2019 15:16:03 +0100 Subject: [PATCH] detect/pcre: minor fix to modifiers Set SIG_FLAG_APPLAYER when setting the alproto to make sure the sig is processed correctly. --- src/detect-pcre.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.47.2