Browse Source

Fix inverted sense bug.

pull/1/head
Adam Ierymenko 11 years ago
parent
commit
0fd15d9cf3
  1. 2
      node/Peer.hpp

2
node/Peer.hpp

@ -449,7 +449,7 @@ public:
++_directPathPushCutoffCount;
else _directPathPushCutoffCount = 0;
_lastDirectPathPushReceive = now;
return (_directPathPushCutoffCount >= ZT_PUSH_DIRECT_PATHS_CUTOFF_LIMIT);
return (_directPathPushCutoffCount < ZT_PUSH_DIRECT_PATHS_CUTOFF_LIMIT);
}
/**

Loading…
Cancel
Save