fixed crash at startup

This commit is contained in:
orignal 2015-02-27 17:58:01 -05:00
parent 7949ffe41e
commit 3977cec408

View File

@ -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
{