return None;
}
+ fn update_ts(&mut self, ts: u64) {
+ if ts != self.ts {
+ self.ts = ts;
+ }
+ }
+
/* generic TX has no type_data and is only used to
* track a single cmd request/reply pair. */
state.ts_gap = true;
}
- state.ts = flow.get_last_time().as_secs();
+ state.update_ts(flow.get_last_time().as_secs());
state.parse_tcp_data_ts(buf)
}
state.tc_gap = true;
}
- state.ts = flow.get_last_time().as_secs();
+ state.update_ts(flow.get_last_time().as_secs());
state.parse_tcp_data_tc(buf)
}