mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 04:46:38 +01:00
fixed crash at startup
This commit is contained in:
parent
7949ffe41e
commit
3977cec408
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ namespace transport
|
|||
for (int i = 0; i < 5; i++)
|
||||
{
|
||||
auto router = i2p::data::netdb.GetRandomPeerTestRouter ();
|
||||
if (router)
|
||||
if (router && router->IsSSU ())
|
||||
m_SSUServer->GetSession (router, true); // peer test
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue