summaryrefslogtreecommitdiff
path: root/src/PeerAddrEntry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/PeerAddrEntry.cc')
-rw-r--r--src/PeerAddrEntry.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PeerAddrEntry.cc b/src/PeerAddrEntry.cc
index 27cb3228..087bf118 100644
--- a/src/PeerAddrEntry.cc
+++ b/src/PeerAddrEntry.cc
@@ -33,6 +33,7 @@
*/
/* copyright --> */
#include "PeerAddrEntry.h"
+#include "wallclock.h"
namespace aria2 {
@@ -61,7 +62,7 @@ PeerAddrEntry& PeerAddrEntry::operator=(const PeerAddrEntry& c)
void PeerAddrEntry::notifyUpdate()
{
- lastUpdated_.reset();
+ lastUpdated_ = global::wallclock;
}
bool PeerAddrEntry::operator==(const PeerAddrEntry& entry) const