krb: 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 322f3896ba
commit c64e4526cd

@ -240,7 +240,7 @@ impl KRB5State {
impl KRB5Transaction {
pub fn new(id: u64) -> KRB5Transaction {
KRB5Transaction{
let mut krbtx = KRB5Transaction{
msg_type: MessageType(0),
cname: None,
realm: None,
@ -250,7 +250,9 @@ impl KRB5Transaction {
error_code: None,
id,
tx_data: applayer::AppLayerTxData::new(),
}
};
krbtx.tx_data.set_inspect_direction(Direction::ToClient);
return krbtx;
}
}

Loading…
Cancel
Save