The root technically does not need to do this, and its slow.

This commit is contained in:
Adam Ierymenko 2019-09-13 10:29:11 -07:00
parent 53a2de98de
commit e44d7a553f
No known key found for this signature in database
GPG Key ID: C8877CF2D7A5D7F3

View File

@ -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));
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->lastReceive = now;