Browse Source

Removed check for port number in multipath path replacement logic

Joseph Henry 6 years ago
parent
commit
c3bfcf560b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      node/Peer.cpp

+ 1 - 1
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;
 					}