From fcbc52dc2e95e7ee6354896757592472b309d101 Mon Sep 17 00:00:00 2001 From: lbl8603 <49143209+lbl8603@users.noreply.github.com> Date: Tue, 30 Apr 2024 23:24:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0icmp=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnt/src/ip_proxy/icmp_proxy.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vnt/src/ip_proxy/icmp_proxy.rs b/vnt/src/ip_proxy/icmp_proxy.rs index b2c549c..d59980a 100644 --- a/vnt/src/ip_proxy/icmp_proxy.rs +++ b/vnt/src/ip_proxy/icmp_proxy.rs @@ -250,12 +250,13 @@ impl ProxyHandler for IcmpProxy { SocketAddr::from(SocketAddrV4::new(dest_ip, 0)), )?; } - _ => { + header_other => { log::warn!( - "不支持的ip代理Icmp协议:{}->{}->{}", + "不支持的ip代理Icmp协议:{}->{}->{},{:?}", source, destination, - dest_ip + dest_ip, + header_other ); } }