mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Fix inverted sense bug.
This commit is contained in:
parent
938d0a970b
commit
0fd15d9cf3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue