mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-30 01:19:58 -07:00
make analyze_information_element private
This commit is contained in:
committed by
Cooper Quintin
parent
e2bc3a0a67
commit
e216043a14
@@ -434,7 +434,11 @@ impl Harness {
|
||||
rows
|
||||
}
|
||||
|
||||
pub fn analyze_information_element(&mut self, ie: &InformationElement) -> Vec<Option<Event>> {
|
||||
fn analyze_information_element(&mut self, ie: &InformationElement) -> Vec<Option<Event>> {
|
||||
// This method is private because incrementing packet_num is currently handled entirely by the other
|
||||
// methods that call this one. This could be changed with some careful refactoring, but
|
||||
// while this method is only used by other Harness methods, let's keep it private to help
|
||||
// ensure we always bump packet_num exactly once for each processed packet.
|
||||
let packet_str = format!(" (packet {})", self.packet_num);
|
||||
self.analyzers
|
||||
.iter_mut()
|
||||
|
||||
Reference in New Issue
Block a user