summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node/Peer.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Peer.hpp b/node/Peer.hpp
index d9ef5fcb..39acffd9 100644
--- a/node/Peer.hpp
+++ b/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);
}
/**