mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
disable MemoryPool for RouterInfo's address
This commit is contained in:
parent
cb73c7c72e
commit
709c451400
3 changed files with 4 additions and 4 deletions
|
@ -212,7 +212,7 @@ namespace data
|
|||
for (int i = 0; i < numAddresses; i++)
|
||||
{
|
||||
uint8_t supportedTransports = 0;
|
||||
auto address = netdb.NewRouterInfoAddress ();
|
||||
auto address = std::make_shared<Address> (); // netdb.NewRouterInfoAddress ();
|
||||
uint8_t cost; // ignore
|
||||
s.read ((char *)&cost, sizeof (cost));
|
||||
s.read ((char *)&address->date, sizeof (address->date));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue