summaryrefslogtreecommitdiffhomepage
path: root/talpid-core/src
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2025-04-04 10:09:48 +0200
committerDavid Lönnhager <david.l@mullvad.net>2025-04-10 08:45:28 +0200
commit218e47d24bbf0c69f648f0ec039c11c12f65cd69 (patch)
tree3bff113ceb4b51dcfebaaa8f9e228c1491fda158 /talpid-core/src
parenta64a885ae56d39ce4213077283409891d5aa2e94 (diff)
downloadmullvadvpn-218e47d24bbf0c69f648f0ec039c11c12f65cd69.tar.xz
mullvadvpn-218e47d24bbf0c69f648f0ec039c11c12f65cd69.zip
Fix some compilation errors on macOS for Rust 2024
Diffstat (limited to 'talpid-core/src')
-rw-r--r--talpid-core/src/split_tunnel/macos/tun.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-core/src/split_tunnel/macos/tun.rs b/talpid-core/src/split_tunnel/macos/tun.rs
index 2533e8a360..a9444c015a 100644
--- a/talpid-core/src/split_tunnel/macos/tun.rs
+++ b/talpid-core/src/split_tunnel/macos/tun.rs
@@ -818,7 +818,7 @@ fn fix_ipv6_checksums(
/// exist, the function will not fail, but the stream will never return anything.
fn capture_outbound_packets(
utun_iface: &str,
-) -> Result<impl Stream<Item = Result<PktapPacket, Error>> + Send, Error> {
+) -> Result<impl Stream<Item = Result<PktapPacket, Error>> + Send + use<>, Error> {
// We want to create a pktap "pseudo-device" and capture data on it using a bpf device.
// This provides packet data plus a pktap header including process information.
// libpcap will do the heavy lifting for us if we simply request a "pktap" device.