Browse Source

Removed check for port number in multipath path replacement logic

Joseph Henry 6 năm trước cách đây
mục cha
commit
c3bfcf560b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 					}