Adam Ierymenko пре 9 година
родитељ
комит
0fd15d9cf3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      node/Peer.hpp

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