mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-27 07:59:59 -07:00
Fix compilation errors
This commit is contained in:
committed by
Will Greenberg
parent
40a0dec361
commit
b43217ef35
@@ -72,16 +72,16 @@ impl Analyzer for LteSib6And7DowngradeAnalyzer {
|
||||
&& let BCCH_DL_SCH_MessageType::C1(c1) = &sch_msg.message
|
||||
&& let BCCH_DL_SCH_MessageType_c1::SystemInformationBlockType1(_) = c1
|
||||
{
|
||||
if self.legacy_priority > self.lte_priority {
|
||||
let flag = Some(Event {
|
||||
let flag = if self.legacy_priority > self.lte_priority {
|
||||
Some(Event {
|
||||
event_type: EventType::High,
|
||||
message:
|
||||
format!("LTE cell advertised a 3G cell for priority {} reselection over LTE neighbors at priority {}", self.legacy_priority, self.lte_priority)
|
||||
.to_string(),
|
||||
});
|
||||
})
|
||||
} else {
|
||||
flag = None;
|
||||
}
|
||||
None
|
||||
};
|
||||
self.lte_priority = 0;
|
||||
self.legacy_priority = -1;
|
||||
debug!("reset priority to 0 due to new sib1 at {_packet_num}");
|
||||
|
||||
Reference in New Issue
Block a user