diff --git a/src/capture.rs b/src/capture.rs index 1cc73e21..ff2af8c7 100644 --- a/src/capture.rs +++ b/src/capture.rs @@ -971,7 +971,7 @@ impl CaptureReader { .configurations .load() .get(*conf) - .map(Arc::clone) + .cloned() } fn transfer_extended(&mut self,