mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-17 14:48:17 +00:00
Fix inverted sense bug.
This commit is contained in:
@ -449,7 +449,7 @@ public:
|
|||||||
++_directPathPushCutoffCount;
|
++_directPathPushCutoffCount;
|
||||||
else _directPathPushCutoffCount = 0;
|
else _directPathPushCutoffCount = 0;
|
||||||
_lastDirectPathPushReceive = now;
|
_lastDirectPathPushReceive = now;
|
||||||
return (_directPathPushCutoffCount >= ZT_PUSH_DIRECT_PATHS_CUTOFF_LIMIT);
|
return (_directPathPushCutoffCount < ZT_PUSH_DIRECT_PATHS_CUTOFF_LIMIT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user