Browse Source

update timestamp for non-reachable router

pull/2072/head
orignal 7 months ago
parent
commit
7dc5a04b8d
  1. 3
      libi2pd/RouterContext.cpp

3
libi2pd/RouterContext.cpp

@ -1323,7 +1323,10 @@ namespace i2p
if (m_RouterInfo.IsReachableBy (i2p::data::RouterInfo::eAllTransports)) if (m_RouterInfo.IsReachableBy (i2p::data::RouterInfo::eAllTransports))
HandlePublishTimer (ecode); HandlePublishTimer (ecode);
else else
{
UpdateTimestamp (i2p::util::GetSecondsSinceEpoch ());
ScheduleInitialPublish (); ScheduleInitialPublish ();
}
} }
} }

Loading…
Cancel
Save