From 7dc5a04b8da133a256c846c65f5b7f34785be141 Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 26 May 2024 11:06:39 -0400 Subject: [PATCH] update timestamp for non-reachable router --- libi2pd/RouterContext.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libi2pd/RouterContext.cpp b/libi2pd/RouterContext.cpp index 8a6a21a5..d2ad89b7 100644 --- a/libi2pd/RouterContext.cpp +++ b/libi2pd/RouterContext.cpp @@ -1323,7 +1323,10 @@ namespace i2p if (m_RouterInfo.IsReachableBy (i2p::data::RouterInfo::eAllTransports)) HandlePublishTimer (ecode); else + { + UpdateTimestamp (i2p::util::GetSecondsSinceEpoch ()); ScheduleInitialPublish (); + } } }