增加icmp代理日志

This commit is contained in:
lbl8603
2024-04-30 23:24:12 +08:00
parent bbfa255dd3
commit fcbc52dc2e
+4 -3
View File
@@ -250,12 +250,13 @@ impl ProxyHandler for IcmpProxy {
SocketAddr::from(SocketAddrV4::new(dest_ip, 0)), SocketAddr::from(SocketAddrV4::new(dest_ip, 0)),
)?; )?;
} }
_ => { header_other => {
log::warn!( log::warn!(
"不支持的ip代理Icmp协议:{}->{}->{}", "不支持的ip代理Icmp协议:{}->{}->{},{:?}",
source, source,
destination, destination,
dest_ip dest_ip,
header_other
); );
} }
} }