Selaa lähdekoodia

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

Adam Ierymenko 6 vuotta sitten
vanhempi
sitoutus
e44d7a553f
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      root/root.cpp

+ 0 - 4
root/root.cpp

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