From 17acdcc4d547d772fa0b76f7aeb89f7b20d0eff7 Mon Sep 17 00:00:00 2001 From: orignal <i2porignal@yandex.ru> Date: Thu, 2 Jul 2015 14:11:30 -0400 Subject: [PATCH] temporary fix of crash --- TunnelEndpoint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TunnelEndpoint.cpp b/TunnelEndpoint.cpp index a8206d3f..9d1425e1 100644 --- a/TunnelEndpoint.cpp +++ b/TunnelEndpoint.cpp @@ -241,10 +241,10 @@ namespace tunnel // to somebody else if (!m_IsInbound) // outbound transit tunnel { - auto typeID = msg.data->GetTypeID (); + /* auto typeID = msg.data->GetTypeID (); if (typeID == eI2NPDatabaseStore || typeID == eI2NPDatabaseSearchReply ) // 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); } else // we shouldn't send this message. possible leakage