fix data not encrypted when no tun is enabled (#1435)

This commit is contained in:
Sijie.Sun
2025-10-01 11:16:24 +08:00
committed by GitHub
parent 020bf04ec4
commit 971ef82679
6 changed files with 19 additions and 11 deletions
+1 -1
View File
@@ -285,7 +285,7 @@ impl IcmpProxy {
tracing::warn!("peer manager is gone, icmp proxy send loop exit");
return;
};
let ret = pm.send_msg(msg, to_peer_id).await;
let ret = pm.send_msg_for_proxy(msg, to_peer_id).await;
if ret.is_err() {
tracing::error!("send icmp packet to peer failed: {:?}", ret);
}