summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--talpid-core/src/split_tunnel/macos/tun.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/talpid-core/src/split_tunnel/macos/tun.rs b/talpid-core/src/split_tunnel/macos/tun.rs
index b1a7cf53cf..ba810f858e 100644
--- a/talpid-core/src/split_tunnel/macos/tun.rs
+++ b/talpid-core/src/split_tunnel/macos/tun.rs
@@ -569,7 +569,10 @@ fn classify_and_send(
};
fix_ipv4_checksums(&mut ip, Some(addr), None);
if let Err(error) = vpn_write.write(packet.frame.payload()) {
- log::error!("Failed to forward to tun device: {error}");
+ log::trace!(
+ "Failed to forward to VPN tunnel: {error}, size: {}",
+ packet.frame.payload().len()
+ );
}
}
EtherTypes::Ipv6 => {
@@ -583,7 +586,10 @@ fn classify_and_send(
};
fix_ipv6_checksums(&mut ip, Some(addr), None);
if let Err(error) = vpn_write.write(packet.frame.payload()) {
- log::error!("Failed to forward to tun device: {error}");
+ log::trace!(
+ "Failed to forward to VPN tunnel: {error}, size: {}",
+ packet.frame.payload().len()
+ );
}
}
other => log::error!("unknown ethertype: {other}"),