From b7083bc3a8ec3f9ca78f12f37cc6974b1783c30d Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Fri, 7 Dec 2018 09:25:56 -0600 Subject: [PATCH] rust/dns/v2 - log rrtype in response Redmine issue: https://redmine.openinfosecfoundation.org/issues/2723 --- rust/src/dns/log.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/src/dns/log.rs b/rust/src/dns/log.rs index 9a34c5b997..26d0fa00dc 100644 --- a/rust/src/dns/log.rs +++ b/rust/src/dns/log.rs @@ -474,6 +474,7 @@ fn dns_log_json_answer(response: &DNSResponse, flags: u64) -> Json for query in &response.queries { js.set_string_from_bytes("rrname", &query.name); + js.set_string("rrtype", &dns_rrtype_string(query.rrtype)); break; } js.set_string("rcode", &dns_rcode_string(header.flags));