summaryrefslogtreecommitdiff
path: root/node/Path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Path.hpp')
-rw-r--r--node/Path.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Path.hpp b/node/Path.hpp
index 668728e0..be64f334 100644
--- a/node/Path.hpp
+++ b/node/Path.hpp
@@ -127,7 +127,7 @@ public:
inline bool active(uint64_t now) const
throw()
{
- return (((now - _lastReceived) < ZT_PEER_ACTIVITY_TIMEOUT)&&(_probation < ZT_PEER_DEAD_PATH_DETECTION_MAX_PROBATION));
+ return (((now - _lastReceived) < ZT_PATH_ACTIVITY_TIMEOUT)&&(_probation < ZT_PEER_DEAD_PATH_DETECTION_MAX_PROBATION));
}
/**