mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
publisuh peer test cap for published SSU2 addresses
This commit is contained in:
@@ -352,9 +352,9 @@ namespace i2p
|
|||||||
address->port = port;
|
address->port = port;
|
||||||
address->published = publish;
|
address->published = publish;
|
||||||
if (publish)
|
if (publish)
|
||||||
address->caps |= i2p::data::RouterInfo::eSSUIntroducer;
|
address->caps |= (i2p::data::RouterInfo::eSSUIntroducer | i2p::data::RouterInfo::eSSUTesting);
|
||||||
else
|
else
|
||||||
address->caps &= ~i2p::data::RouterInfo::eSSUIntroducer;
|
address->caps &= ~(i2p::data::RouterInfo::eSSUIntroducer | i2p::data::RouterInfo::eSSUTesting);
|
||||||
updated = true;
|
updated = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user