summaryrefslogtreecommitdiff
path: root/node/Path.hpp
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2016-09-08 17:45:46 -0700
committerGrant Limberg <glimberg@gmail.com>2016-09-08 17:45:46 -0700
commit5ed5b22525b9233871e3fca8da2c9d77535afd7b (patch)
tree0c39ab15dd1a9456a204e69e8d51eaaed2e8944d /node/Path.hpp
parentdccca7df1a893dacc50a605d707917f579d05db9 (diff)
parent8afdb0aa651fcad00d4eaa0d09d5b4d40bbfb864 (diff)
downloadinfinitytier-5ed5b22525b9233871e3fca8da2c9d77535afd7b.tar.gz
infinitytier-5ed5b22525b9233871e3fca8da2c9d77535afd7b.zip
Merge branch 'dev' of http://git.int.zerotier.com/ZeroTier/ZeroTierOne into dev
Diffstat (limited to 'node/Path.hpp')
-rw-r--r--node/Path.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/node/Path.hpp b/node/Path.hpp
index 129913e1..27cff645 100644
--- a/node/Path.hpp
+++ b/node/Path.hpp
@@ -138,6 +138,13 @@ public:
bool send(const RuntimeEnvironment *RR,const void *data,unsigned int len,uint64_t now);
/**
+ * Manually update last sent time
+ *
+ * @param t Time of send
+ */
+ inline void sent(const uint64_t t) { _lastOut = t; }
+
+ /**
* @return Address of local side of this path or NULL if unspecified
*/
inline const InetAddress &localAddress() const { return _localAddress; }