summaryrefslogtreecommitdiff
path: root/node/Path.hpp
diff options
context:
space:
mode:
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; }