Browse Source

Merge pull request #1552 from Shawn8410/master

FIX: fix wrong flag usage of rateGateCredentialsReceived
pull/4/head
Joseph Henry 4 years ago committed by GitHub
parent
commit
2f554fd6f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      node/Peer.hpp

2
node/Peer.hpp

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

Loading…
Cancel
Save