mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Merge pull request #1552 from Shawn8410/master
FIX: fix wrong flag usage of rateGateCredentialsReceived
This commit is contained in:
commit
2f554fd6f8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue