mirror of https://github.com/OISF/suricata
dns/eve: use default formats if formats is empty
If the configuration field "formats" is empty, DNS response records do
not have any relevant information other than that there was a
response, but not much about the response.
I'm pretty sure the intention here was to log the response details if
no formats were provided, which is what happens when the field is
commented out.
So if no formats are specified, use the default of all.
Bug: #6420
(cherry picked from commit a240a93b69)
pull/9730/head
parent
9e0c7c4b54
commit
b0e8b6fb07
Loading…
Reference in New Issue