]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/alert: remove unused functions
authorJuliana Fajardini <jufajardini@gmail.com>
Wed, 20 Apr 2022 20:50:43 +0000 (17:50 -0300)
committerVictor Julien <vjulien@oisf.net>
Tue, 3 May 2022 07:10:02 +0000 (09:10 +0200)
commit5932b9f8229991a84911f83614f05d4a3c43b853
tree7ea0d3ee0d43bcbe334691473e7451efd33082c7
parentfaea583d9b34cf8f88b9e40f6e8feed6c4d70758
detect/alert: remove unused functions

Since we now only copy the PacketAlerts to the Packet's queue after
processing them, we no longer do packet alert appending from
detect-engine-alert, nor do we remove PacketAlerts from the queue (if
they're discarded by overflow or thresholding, they're not copied to the
final alert queue).

Task #4943

(cherry picked from commit e4e688a9b0add66aa0b97df0f7b1b9e60f68fb90)
src/detect-engine-alert.c
src/detect-engine-alert.h