mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
don't publish introducers for non-published SSU2 address
This commit is contained in:
parent
2197cd8620
commit
4a3e481a83
1 changed files with 1 additions and 1 deletions
|
@ -1321,7 +1321,7 @@ namespace data
|
||||||
size_t len = address.IsSSU2 () ? 32 : 16;
|
size_t len = address.IsSSU2 () ? 32 : 16;
|
||||||
WriteString (address.i.ToBase64 (len), properties); properties << ';';
|
WriteString (address.i.ToBase64 (len), properties); properties << ';';
|
||||||
}
|
}
|
||||||
if (address.transportStyle == eTransportSSU || address.IsSSU2 ())
|
if (address.transportStyle == eTransportSSU || (address.IsSSU2 () && isPublished))
|
||||||
{
|
{
|
||||||
// write introducers if any
|
// write introducers if any
|
||||||
if (address.ssu && !address.ssu->introducers.empty())
|
if (address.ssu && !address.ssu->introducers.empty())
|
||||||
|
|
Loading…
Add table
Reference in a new issue