mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
select tunnel from TunnelPool rather than from LeaseSet for DeliveryStatus
This commit is contained in:
parent
62593f60c5
commit
10577cd1e5
5 changed files with 14 additions and 7 deletions
|
@ -289,6 +289,11 @@ namespace i2p
|
|||
fk.write ((char *)&keys, sizeof (keys));
|
||||
}
|
||||
|
||||
std::shared_ptr<i2p::tunnel::TunnelPool> RouterContext::GetTunnelPool () const
|
||||
{
|
||||
return i2p::tunnel::tunnels.GetExploratoryPool ();
|
||||
}
|
||||
|
||||
void RouterContext::HandleI2NPMessage (const uint8_t * buf, size_t len, std::shared_ptr<i2p::tunnel::InboundTunnel> from)
|
||||
{
|
||||
i2p::HandleI2NPMessage (CreateI2NPMessage (buf, GetI2NPMessageLength (buf), from));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue