Merge pull request #1552 from Shawn8410/master

FIX: fix wrong flag usage of rateGateCredentialsReceived
This commit is contained in:
Joseph Henry
2022-01-28 10:12:16 -08:00
committed by GitHub

View File

@@ -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);
}
/**