Removed check for port number in multipath path replacement logic

This commit is contained in:
Joseph Henry 2019-06-12 13:14:14 -07:00
parent 2eb9c0924a
commit c3bfcf560b

View File

@ -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;
}