summaryrefslogtreecommitdiff
path: root/node/Path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Path.hpp')
-rw-r--r--node/Path.hpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/node/Path.hpp b/node/Path.hpp
index 960b08b3..09ed1f9e 100644
--- a/node/Path.hpp
+++ b/node/Path.hpp
@@ -88,19 +88,6 @@ public:
}
/**
- * @return True if it appears that a ping has gone unanswered
- */
- inline bool pingUnanswered(uint64_t now) const
- throw()
- {
- uint64_t lp = _lastPing;
- uint64_t lr = _lastReceived;
- if (lp)
- return ((lr < lp)&&((lp - lr) > ZT_PING_UNANSWERED_AFTER));
- return false;
- }
-
- /**
* @return Human-readable address and other information about this path, some computed as of current time
*/
inline std::string toString() const