mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
ignore LeaseSets coming from transit tunnels
This commit is contained in:
@@ -248,7 +248,7 @@ namespace tunnel
|
||||
LogPrint (eLogError, "TunnelMessage: Unknown delivery type ", (int)msg.deliveryType);
|
||||
};
|
||||
// catch RI or reply with new list of routers
|
||||
if ((typeID == eI2NPDatabaseStore || typeID == eI2NPDatabaseSearchReply) &&
|
||||
if ((IsRouterInfoMsg (msg.data) || typeID == eI2NPDatabaseSearchReply) &&
|
||||
!m_IsInbound && msg.deliveryType != eDeliveryTypeLocal)
|
||||
i2p::data::netdb.PostI2NPMsg (msg.data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user