FIX: fix wrong flag usage of rateGateCredentialsReceived

This commit is contained in:
Shawn 2022-01-27 11:59:21 +08:00
parent 2ac1ff9be2
commit ae93cccde6

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