From f233340cb271f706f89392aee1c6bef5c2e7444b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Sun, 16 Oct 2016 22:14:29 -0400
Subject: [PATCH] node: clear reply_time on reset

---
 include/opendht/node.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/opendht/node.h b/include/opendht/node.h
index 14e8ae7c..eac7dc85 100644
--- a/include/opendht/node.h
+++ b/include/opendht/node.h
@@ -80,7 +80,7 @@ struct Node {
     /**
      * Resets the state of the node so it's not expired anymore.
      */
-    void reset() { expired_ = false; }
+    void reset() { expired_ = false; reply_time = time_point::min(); }
 
     std::string toString() const;
 
-- 
GitLab