mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 06:54:15 +00:00
don't publish introducers for non-published SSU2 address
This commit is contained in:
parent
2197cd8620
commit
4a3e481a83
@ -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…
x
Reference in New Issue
Block a user