Warning fix

This commit is contained in:
Herbert Wolverson 2024-02-27 11:56:36 -06:00
parent 8fa53782c6
commit b7c02d251d

View File

@ -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,