diff --git a/src/detect.c b/src/detect.c index 6c979522ea..614688d831 100644 --- a/src/detect.c +++ b/src/detect.c @@ -562,7 +562,7 @@ static int SigMatchSignaturesAppLayer(ThreadVars *th_v, DetectEngineCtx *de_ctx, p->action = s->action; } } else { - PacketAlertAppend(p, 1, s->id, s->rev, s->prio, s->msg); + PacketAlertHandle(de_ctx,s,p); /* set verdict on packet */ p->action = s->action;