diff --git a/lib/src/analysis/nas_null_cipher.rs b/lib/src/analysis/nas_null_cipher.rs index 64d29bf..76cc15d 100644 --- a/lib/src/analysis/nas_null_cipher.rs +++ b/lib/src/analysis/nas_null_cipher.rs @@ -1,8 +1,8 @@ use std::borrow::Cow; +use pycrate_rs::nas::NASMessage; use pycrate_rs::nas::emm::EMMMessage; use pycrate_rs::nas::generated::emm::emm_security_mode_command::NASSecAlgoCiphAlgo::EPSEncryptionAlgorithmEEA0Null; -use pycrate_rs::nas::NASMessage; use super::analyzer::{Analyzer, Event, EventType, Severity}; use super::information_element::{InformationElement, LteInformationElement}; @@ -34,6 +34,10 @@ impl Analyzer for NasNullCipherAnalyzer { ) } + fn get_version(&self) -> u32 { + 1 + } + fn analyze_information_element(&mut self, ie: &InformationElement) -> Option { self.packet_num += 1; let payload = match ie {