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
commit 2f554fd6f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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