mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-21 10:01:46 +00:00
Accept OK for confirm of HELLO or ECHO.
This commit is contained in:
parent
f9f60f89d9
commit
781f06ef82
@ -101,9 +101,9 @@ void Peer::received(
|
||||
}
|
||||
|
||||
if (!pathIsConfirmed) {
|
||||
if ((verb == Packet::VERB_OK)&&(inReVerb == Packet::VERB_HELLO)) {
|
||||
if ((verb == Packet::VERB_OK)&&((inReVerb == Packet::VERB_HELLO)||(inReVerb == Packet::VERB_ECHO))) {
|
||||
|
||||
// Learn paths if they've been confirmed via a HELLO
|
||||
// Learn paths if they've been confirmed via a HELLO or an ECHO
|
||||
RemotePath *slot = (RemotePath *)0;
|
||||
if (np < ZT_MAX_PEER_NETWORK_PATHS) {
|
||||
// Add new path
|
||||
|
Loading…
x
Reference in New Issue
Block a user