mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 19:41:41 +00:00
mark NTCP2 unreachable routers
This commit is contained in:
1 parent
951ec567c7
commit
a0b35ebd3e
2 files changed
+3
-2
No files matched your search
@@ -440,7 +440,7 @@ namespace transport
|
||||
{
|
||||
// NTCP2 have priority over NTCP
|
||||
auto address = peer.router->GetNTCP2Address (true, !context.SupportsV6 ()); // published only
|
||||
if (address)
|
||||
if (address && !peer.router->IsUnreachable ())
|
||||
{
|
||||
auto s = std::make_shared<NTCP2Session> (*m_NTCP2Server, peer.router);
|
||||
|
||||
|
||||
Reference in new issue
Block a user