mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-23 23:02:23 +00:00
The root technically does not need to do this, and its slow.
This commit is contained in:
parent
53a2de98de
commit
e44d7a553f
@ -282,10 +282,6 @@ static void handlePacket(const int v4s,const int v6s,const InetAddress *const ip
|
|||||||
printf("%s HELLO rejected: decompression failed" ZT_EOL_S,ip->toString(ipstr));
|
printf("%s HELLO rejected: decompression failed" ZT_EOL_S,ip->toString(ipstr));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!id.locallyValidate()) { // this is more time consuming so check others first
|
|
||||||
printf("%s HELLO rejected: identity local validation failed" ZT_EOL_S,ip->toString(ipstr));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
peer->id = id;
|
peer->id = id;
|
||||||
peer->lastReceive = now;
|
peer->lastReceive = now;
|
||||||
|
Loading…
Reference in New Issue
Block a user