From c5d4a250b555d5e063c9a6f539c308608bdc6c8c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 2 Jul 2026 14:15:28 +0200 Subject: [PATCH] detect/firewall: avoid passing state match for policy --- src/detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect.c b/src/detect.c index bb3dcb9df5..537ecfa41b 100644 --- a/src/detect.c +++ b/src/detect.c @@ -1731,7 +1731,7 @@ static inline void DetectRunAppendDefaultAppPolicyAlert(DetectEngineThreadCtx *d const Signature *s = ap->alert_signature; BUG_ON(s == NULL); uint8_t alert_flags = apply_to_packet ? PACKET_ALERT_FLAG_APPLY_ACTION_TO_PACKET : 0; - AlertQueueAppendAppTx(det_ctx, s, p, tx->tx_id, tx->tx_type, alert_flags); + AlertQueueAppendAppTxFromPacket(det_ctx, s, p, tx->tx_id, tx->tx_type, alert_flags); } }