Browse Source

temporary fix of crash

pull/225/head
orignal 10 years ago
parent
commit
17acdcc4d5
  1. 4
      TunnelEndpoint.cpp

4
TunnelEndpoint.cpp

@ -241,10 +241,10 @@ namespace tunnel
// to somebody else // to somebody else
if (!m_IsInbound) // outbound transit tunnel if (!m_IsInbound) // outbound transit tunnel
{ {
auto typeID = msg.data->GetTypeID (); /* auto typeID = msg.data->GetTypeID ();
if (typeID == eI2NPDatabaseStore || typeID == eI2NPDatabaseSearchReply ) if (typeID == eI2NPDatabaseStore || typeID == eI2NPDatabaseSearchReply )
// catch RI or reply with new list of routers // catch RI or reply with new list of routers
i2p::data::netdb.PostI2NPMsg (msg.data); i2p::data::netdb.PostI2NPMsg (msg.data);*/
i2p::transport::transports.SendMessage (msg.hash, msg.data); i2p::transport::transports.SendMessage (msg.hash, msg.data);
} }
else // we shouldn't send this message. possible leakage else // we shouldn't send this message. possible leakage

Loading…
Cancel
Save