diff --git a/veilid-core/src/intf/native/network/mod.rs b/veilid-core/src/intf/native/network/mod.rs index 94e361cb..40697408 100644 --- a/veilid-core/src/intf/native/network/mod.rs +++ b/veilid-core/src/intf/native/network/mod.rs @@ -468,7 +468,7 @@ impl Network { // Create protocol handler let udpv4_handler = - RawUdpProtocolHandler::new(inner.network_manager.clone(), socket_arc.clone()); + RawUdpProtocolHandler::new(inner.network_manager.clone(), socket_arc); inner.outbound_udpv4_protocol_handler = Some(udpv4_handler); } @@ -485,7 +485,7 @@ impl Network { // Create protocol handler let udpv6_handler = - RawUdpProtocolHandler::new(inner.network_manager.clone(), socket_arc.clone()); + RawUdpProtocolHandler::new(inner.network_manager.clone(), socket_arc); inner.outbound_udpv6_protocol_handler = Some(udpv6_handler); }