Tweak WHOIS path for federation.

This commit is contained in:
Adam Ierymenko 2017-03-10 19:52:08 -08:00
parent 6194d2af3d
commit e3b1fc2ac0
3 changed files with 9 additions and 4 deletions

View file

@ -370,7 +370,7 @@ public:
*/
inline bool rateGateInboundWhoisRequest(const uint64_t now)
{
if ((now - _lastWhoisRequestReceived) >= ZT_PEER_GENERAL_RATE_LIMIT) {
if ((now - _lastWhoisRequestReceived) >= ZT_PEER_WHOIS_RATE_LIMIT) {
_lastWhoisRequestReceived = now;
return true;
}