]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
dcerpc: remove prev_tx_call_id and clear_bind_cache from DCERPCState
authorEloy Pérez González <zer1t0ps@protonmail.com>
Thu, 4 Nov 2021 14:20:14 +0000 (15:20 +0100)
committerShivani Bhardwaj <shivanib134@gmail.com>
Fri, 4 Mar 2022 05:37:54 +0000 (11:07 +0530)
remove those fields since are not used because of the removal of
handle_bind_cache.

(cherry picked from commit 15f493f516a452ca810f77595fb57f8e2e96d6e3)

rust/src/dcerpc/dcerpc.rs

index a69e17ec274da33e8fadec9575f802bdc92c691e..9f01178cbfa869cfe58a9822d0424db1c87430dd 100644 (file)
@@ -342,8 +342,6 @@ pub struct DCERPCState {
     pub query_completed: bool,
     pub data_needed_for_dir: u8,
     pub prev_dir: u8,
-    pub prev_tx_call_id: u32,
-    pub clear_bind_cache: bool,
     pub ts_gap: bool,
     pub tc_gap: bool,
     pub ts_ssn_gap: bool,
@@ -369,8 +367,6 @@ impl DCERPCState {
             query_completed: false,
             data_needed_for_dir: core::STREAM_TOSERVER,
             prev_dir: core::STREAM_TOSERVER,
-            prev_tx_call_id: 0,
-            clear_bind_cache: false,
             ts_gap: false,
             tc_gap: false,
             ts_ssn_gap: false,