mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
don't store SSU-specific data for NTCP address
This commit is contained in:
parent
a739580d3f
commit
62ca6212ce
6 changed files with 62 additions and 42 deletions
|
@ -266,8 +266,9 @@ namespace i2p
|
|||
}
|
||||
}
|
||||
// delete previous introducers
|
||||
for (auto& addr : addresses)
|
||||
addr->introducers.clear ();
|
||||
for (auto& addr : addresses)
|
||||
if (addr->ssu)
|
||||
addr->ssu->introducers.clear ();
|
||||
|
||||
// update
|
||||
UpdateRouterInfo ();
|
||||
|
@ -298,7 +299,8 @@ namespace i2p
|
|||
}
|
||||
// delete previous introducers
|
||||
for (auto& addr : addresses)
|
||||
addr->introducers.clear ();
|
||||
if (addr->ssu)
|
||||
addr->ssu->introducers.clear ();
|
||||
|
||||
// update
|
||||
UpdateRouterInfo ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue