mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-31 09:04:14 +00:00
fixed crash at startup
This commit is contained in:
parent
7949ffe41e
commit
3977cec408
@ -390,7 +390,7 @@ namespace transport
|
|||||||
for (int i = 0; i < 5; i++)
|
for (int i = 0; i < 5; i++)
|
||||||
{
|
{
|
||||||
auto router = i2p::data::netdb.GetRandomPeerTestRouter ();
|
auto router = i2p::data::netdb.GetRandomPeerTestRouter ();
|
||||||
if (router)
|
if (router && router->IsSSU ())
|
||||||
m_SSUServer->GetSession (router, true); // peer test
|
m_SSUServer->GetSession (router, true); // peer test
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user