mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Removed check for port number in multipath path replacement logic
This commit is contained in:
parent
2eb9c0924a
commit
c3bfcf560b
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ void Peer::received(
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// If the path is the same address and port, simply assume this is a replacement
|
// 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;
|
replacePath = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue