append packet num in harness & fix packet count

This commit is contained in:
Brad Warren
2025-09-02 09:29:02 -07:00
committed by Cooper Quintin
parent 87d6d1691a
commit e2bc3a0a67
8 changed files with 35 additions and 51 deletions

View File

@@ -23,7 +23,7 @@ impl Analyzer for IncompleteSibAnalyzer {
fn analyze_information_element(
&mut self,
ie: &InformationElement,
packet_num: usize,
_packet_num: usize,
) -> Option<Event> {
if let InformationElement::LTE(lte_ie) = ie
&& let LteInformationElement::BcchDlSch(sch_msg) = &**lte_ie
@@ -33,10 +33,7 @@ impl Analyzer for IncompleteSibAnalyzer {
{
return Some(Event {
event_type: EventType::Medium,
message: format!(
"SIB1 scheduling info list was malformed (packet {})",
packet_num
),
message: "SIB1 scheduling info list was malformed".to_string(),
});
}
None