dns: add TX orientation

Set no inspection in the opposite side of the transaction.

Ticket: #5799
pull/8660/head
Eric Leblond 2 years ago committed by Victor Julien
parent 744fccee17
commit 8926d82465

@ -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 {

Loading…
Cancel
Save