|
|
|
|
@ -570,8 +570,7 @@ fn smb1_request_record_one<'b>(state: &mut SMBState, r: &SmbRecord<'b>, command:
|
|
|
|
|
false
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
if !have_tx {
|
|
|
|
|
if smb1_create_new_tx(command) {
|
|
|
|
|
if !have_tx && smb1_create_new_tx(command) {
|
|
|
|
|
let tx_key = SMBCommonHdr::from1(r, SMBHDR_TYPE_GENERICTX);
|
|
|
|
|
let tx = state.new_generic_tx(1, command as u16, tx_key);
|
|
|
|
|
SCLogDebug!("tx {} created for {}/{}", tx.id, command, &smb1_command_string(command));
|
|
|
|
|
@ -580,7 +579,6 @@ fn smb1_request_record_one<'b>(state: &mut SMBState, r: &SmbRecord<'b>, command:
|
|
|
|
|
tx.response_done = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn smb1_request_record<'b>(state: &mut SMBState, r: &SmbRecord<'b>) -> u32 {
|
|
|
|
|
|