mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-26 02:00:15 -06:00
Warning fix
This commit is contained in:
parent
8fa53782c6
commit
b7c02d251d
@ -286,7 +286,7 @@ pub fn iterate_flows() {
|
||||
let lock = BPF_SKELETON.lock().unwrap();
|
||||
if let Some(skeleton) = lock.as_ref() {
|
||||
let skeleton = skeleton.get_ptr();
|
||||
if let Ok(iter) = unsafe {
|
||||
if let Ok(iter) = {
|
||||
BpfMapIterator::new(
|
||||
(*skeleton).progs.flow_reader,
|
||||
(*skeleton).maps.flowbee,
|
||||
|
Loading…
Reference in New Issue
Block a user