Browse Source

Fix inverted sense bug.

Adam Ierymenko 9 years ago
parent
commit
0fd15d9cf3
1 changed files with 1 additions and 1 deletions
  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);
 	}
 
 	/**