Explorar el Código

FIX: fix wrong flag usage of rateGateCredentialsReceived

Shawn hace 3 años
padre
commit
ae93cccde6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      node/Peer.hpp

+ 1 - 1
node/Peer.hpp

@@ -391,7 +391,7 @@ public:
 			++_credentialsCutoffCount;
 		else _credentialsCutoffCount = 0;
 		_lastCredentialsReceived = now;
-		return (_directPathPushCutoffCount < ZT_PEER_CREDEITIALS_CUTOFF_LIMIT);
+		return (_credentialsCutoffCount < ZT_PEER_CREDEITIALS_CUTOFF_LIMIT);
 	}
 
 	/**