mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 02:49:55 +00:00
debugging host issue
This commit is contained in:
@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user