]> git.ipfire.org Git - thirdparty/suricata.git/commit
output-json-alert: log correct dns and dnp3 tx
authorEric Leblond <eric@regit.org>
Thu, 21 Jun 2018 19:05:16 +0000 (21:05 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 27 Jun 2018 11:46:57 +0000 (13:46 +0200)
commitec0a7b22a5802fa33bd01c484f0a81fddbee4dd9
treef2d8f8cdb47aab9cba0c060ca5287c217d00cb54
parentd377eba254781705c2086ab2a7fc0036f30e5dde
output-json-alert: log correct dns and dnp3 tx

Using transaction log entry is not correct to log the transaction
that did cause the alert. The tx_id in the PacketAlert is correct
so let's use that.
src/output-json-alert.c