]> git.ipfire.org Git - thirdparty/suricata.git/commit
output/snmp: log version from tx
authorPhilippe Antoine <contact@catenacyber.fr>
Mon, 5 Jun 2023 15:04:04 +0000 (17:04 +0200)
committerVictor Julien <vjulien@oisf.net>
Thu, 8 Jun 2023 17:23:19 +0000 (19:23 +0200)
commit7ca43e7e1fe9d019439442e02bdf27c1d041bed9
tree6e84c9bcc5e35c573b38431472dab8b954c35898
parent8f324e3b3d4137b1092b877e8f0dab42e7c824fd
output/snmp: log version from tx

and not the one from state

If a SNMP flow starts with a V2 version transaction,
then there is a V3i version transaction,
we will now log V3 for the second transaction
rust/src/snmp/log.rs
src/output-json-alert.c
src/output-json-snmp.c