request LeaseSet through destination's tunnels

This commit is contained in:
orignal 2014-09-26 19:22:13 -04:00
parent 6af5fa3d27
commit 05148a2579
4 changed files with 9 additions and 9 deletions

View file

@ -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 ());
}
}
}