Fix typo in constant name

This commit is contained in:
Joseph Henry 2022-01-28 10:41:21 -08:00
parent 2f554fd6f8
commit 4190318c85
No known key found for this signature in database
GPG Key ID: C45B33FF5EBC9344
2 changed files with 2 additions and 2 deletions

View File

@ -523,7 +523,7 @@
/** /**
* Maximum number of VERB_NETWORK_CREDENTIALS within cutoff time * Maximum number of VERB_NETWORK_CREDENTIALS within cutoff time
*/ */
#define ZT_PEER_CREDEITIALS_CUTOFF_LIMIT 15 #define ZT_PEER_CREDENTIALS_CUTOFF_LIMIT 15
/** /**
* WHOIS rate limit (we allow these to be pretty fast) * WHOIS rate limit (we allow these to be pretty fast)

View File

@ -391,7 +391,7 @@ public:
++_credentialsCutoffCount; ++_credentialsCutoffCount;
else _credentialsCutoffCount = 0; else _credentialsCutoffCount = 0;
_lastCredentialsReceived = now; _lastCredentialsReceived = now;
return (_credentialsCutoffCount < ZT_PEER_CREDEITIALS_CUTOFF_LIMIT); return (_credentialsCutoffCount < ZT_PEER_CREDENTIALS_CUTOFF_LIMIT);
} }
/** /**