]> git.ipfire.org Git - thirdparty/suricata.git/commit
eve/drop: use highest priority drop 5976/head
authorVictor Julien <victor@inliniac.net>
Fri, 12 Mar 2021 09:22:01 +0000 (10:22 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 12 Mar 2021 11:59:27 +0000 (12:59 +0100)
commit398ebf934509a8d27a1c8b858eae061b89d5c44a
tree4ec5a769f1c2a285cddaeeb7c77e0d07e2910c1c
parent6cf44fc839e8f1da820095928b5b25e7fc0a8521
eve/drop: use highest priority drop

When adding the alert to a drop record make sure the add the highest
priority.

It would until now add all drops from high to low prio, effectively
overwriting the record each time.

Ticket #4397
src/output-json-drop.c