From 8926d8246518363188c2ecbfb46fa7d9576f33e6 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Mon, 23 Jan 2023 20:03:12 +0100 Subject: [PATCH] dns: add TX orientation Set no inspection in the opposite side of the transaction. Ticket: #5799 --- rust/src/dns/dns.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rust/src/dns/dns.rs b/rust/src/dns/dns.rs index 5ed5c43994..9bc4f6681b 100644 --- a/rust/src/dns/dns.rs +++ b/rust/src/dns/dns.rs @@ -412,6 +412,7 @@ impl DNSState { let mut tx = self.new_tx(); tx.request = Some(request); + tx.tx_data.set_inspect_direction(Direction::ToServer); self.transactions.push_back(tx); if z_flag { @@ -490,6 +491,7 @@ impl DNSState { } } tx.response = Some(response); + tx.tx_data.set_inspect_direction(Direction::ToClient); self.transactions.push_back(tx); if z_flag {