summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
Diffstat (limited to 'node')
-rw-r--r--node/Peer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp
index 95a26003..3357bb2a 100644
--- a/node/Peer.cpp
+++ b/node/Peer.cpp
@@ -157,7 +157,7 @@ void Peer::received(
break;
}
// If the path is the same address and port, simply assume this is a replacement
- if ( (_paths[i].p->address().ipsEqual2(path->address()) && (_paths[i].p->address().port() == path->address().port()))) {
+ if ( (_paths[i].p->address().ipsEqual2(path->address()))) {
replacePath = i;
break;
}