Browse Source

Fix typo in constant name

Joseph Henry 3 years ago
parent
commit
4190318c85
2 changed files with 2 additions and 2 deletions
  1. 1 1
      node/Constants.hpp
  2. 1 1
      node/Peer.hpp

+ 1 - 1
node/Constants.hpp

@@ -523,7 +523,7 @@
 /**
  * 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)

+ 1 - 1
node/Peer.hpp

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