summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Henry <josephjah@gmail.com>2019-06-12 13:14:14 -0700
committerJoseph Henry <josephjah@gmail.com>2019-06-12 13:14:14 -0700
commitc3bfcf560b1db720c9bb08021b50bd31094e737c (patch)
tree2b1d833cf0a49fb28677a70a6e6bdb73c36b3eb7
parent2eb9c0924a96bd1570df28e517b0deca714b566c (diff)
downloadinfinitytier-c3bfcf560b1db720c9bb08021b50bd31094e737c.tar.gz
infinitytier-c3bfcf560b1db720c9bb08021b50bd31094e737c.zip
Removed check for port number in multipath path replacement logic
-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;
}