mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
remote LeaseSets per local destination
This commit is contained in:
parent
22937e1b54
commit
eff0e13f31
7 changed files with 77 additions and 15 deletions
|
@ -164,7 +164,7 @@ namespace stream
|
|||
if (m_DestinationIdentHash)
|
||||
{
|
||||
i2p::data::netdb.Subscribe (*m_DestinationIdentHash, GetLocalDestination ()->GetTunnelPool ());
|
||||
m_RemoteLeaseSet = i2p::data::netdb.FindLeaseSet (*m_DestinationIdentHash);
|
||||
m_RemoteLeaseSet = GetLocalDestination ()->FindLeaseSet (*m_DestinationIdentHash);
|
||||
}
|
||||
else
|
||||
LogPrint ("I2PTunnel unknown destination ", m_Destination);
|
||||
|
@ -194,7 +194,7 @@ namespace stream
|
|||
{
|
||||
// try to get it
|
||||
if (m_DestinationIdentHash)
|
||||
m_RemoteLeaseSet = i2p::data::netdb.FindLeaseSet (*m_DestinationIdentHash);
|
||||
m_RemoteLeaseSet = GetLocalDestination ()->FindLeaseSet (*m_DestinationIdentHash);
|
||||
else
|
||||
{
|
||||
i2p::data::IdentHash identHash;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue