Skip to content

Commit

Permalink
增加icmp代理日志
Browse files Browse the repository at this point in the history
  • Loading branch information
vnt-dev committed Apr 30, 2024
1 parent bbfa255 commit fcbc52d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vnt/src/ip_proxy/icmp_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
}
Expand Down

0 comments on commit fcbc52d

Please sign in to comment.