mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 04:57:53 +00:00
FIX: fix wrong flag usage of rateGateCredentialsReceived
This commit is contained in:
parent
2ac1ff9be2
commit
ae93cccde6
@ -391,7 +391,7 @@ public:
|
|||||||
++_credentialsCutoffCount;
|
++_credentialsCutoffCount;
|
||||||
else _credentialsCutoffCount = 0;
|
else _credentialsCutoffCount = 0;
|
||||||
_lastCredentialsReceived = now;
|
_lastCredentialsReceived = now;
|
||||||
return (_directPathPushCutoffCount < ZT_PEER_CREDEITIALS_CUTOFF_LIMIT);
|
return (_credentialsCutoffCount < ZT_PEER_CREDEITIALS_CUTOFF_LIMIT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user