Explorar o código

Fix inverted sense bug.

Adam Ierymenko %!s(int64=10) %!d(string=hai) anos
pai
achega
0fd15d9cf3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
 	}
 
 	/**