mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
request LeaseSet through destination's tunnels
This commit is contained in:
parent
6af5fa3d27
commit
05148a2579
4 changed files with 9 additions and 9 deletions
|
@ -170,7 +170,7 @@ namespace stream
|
|||
}
|
||||
if (m_DestinationIdentHash)
|
||||
{
|
||||
i2p::data::netdb.Subscribe (*m_DestinationIdentHash);
|
||||
i2p::data::netdb.Subscribe (*m_DestinationIdentHash, GetSharedLocalDestination ()->GetTunnelPool ());
|
||||
m_RemoteLeaseSet = i2p::data::netdb.FindLeaseSet (*m_DestinationIdentHash);
|
||||
}
|
||||
else
|
||||
|
@ -208,7 +208,7 @@ namespace stream
|
|||
if (identHash)
|
||||
{
|
||||
m_DestinationIdentHash = new i2p::data::IdentHash (*identHash);
|
||||
i2p::data::netdb.Subscribe (*m_DestinationIdentHash);
|
||||
i2p::data::netdb.Subscribe (*m_DestinationIdentHash, GetSharedLocalDestination ()->GetTunnelPool ());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue