mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
handle LS2 in destinations
This commit is contained in:
parent
b5596c4596
commit
5398b651f7
6 changed files with 85 additions and 39 deletions
|
@ -297,7 +297,7 @@ namespace data
|
|||
auto it = m_LeaseSets.find(ident);
|
||||
if (it == m_LeaseSets.end ())
|
||||
{
|
||||
auto leaseSet = std::make_shared<LeaseSet2> (storeType, buf, len);
|
||||
auto leaseSet = std::make_shared<LeaseSet2> (storeType, buf, len, false); // we don't need leases in netdb
|
||||
m_LeaseSets[ident] = leaseSet;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue