mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
ignore LeaseSets coming from transit tunnels
This commit is contained in:
parent
727436e1cf
commit
a26c5f85c3
4 changed files with 10 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue