debugging host issue

This commit is contained in:
Nicholas Wehr
2025-08-21 23:02:05 +00:00
parent ec417f9bf4
commit 2ff606c32c

View File

@ -91,8 +91,12 @@ where
Some(NetworkEvent::ActivePeerSession { info, .. }) => { Some(NetworkEvent::ActivePeerSession { info, .. }) => {
let ip = info.remote_addr.ip(); let ip = info.remote_addr.ip();
// skip unusable/self // skip unusable/self
if ip.is_unspecified() || ip == self_ip { if ip.is_unspecified() {
debug!(%ip, "hlfs: skip self/unspecified"); debug!(%ip, "hlfs: skip unspecified");
continue;
}
if ip == self_ip {
debug!(%ip, "hlfs: skip self");
continue; continue;
} }
let addr = SocketAddr::new(info.remote_addr.ip(), hlfs_port); let addr = SocketAddr::new(info.remote_addr.ip(), hlfs_port);