mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
don't use explicit unreachable parameter anymore
This commit is contained in:
3
SSU.cpp
3
SSU.cpp
@@ -427,7 +427,8 @@ namespace transport
|
||||
if (ecode != boost::asio::error::operation_aborted)
|
||||
{
|
||||
// timeout expired
|
||||
if (!i2p::context.IsUnreachable ()) return; // we don't need introducers anymore
|
||||
if (!i2p::context.GetStatus () != eRouterStatusFirewalled) return; // we don't need introducers anymore
|
||||
if (!i2p::context.IsUnreachable ()) i2p::context.SetUnreachable ();
|
||||
std::list<boost::asio::ip::udp::endpoint> newList;
|
||||
size_t numIntroducers = 0;
|
||||
uint32_t ts = i2p::util::GetSecondsSinceEpoch ();
|
||||
|
||||
Reference in New Issue
Block a user