mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-20 14:21:49 +02:00
publish introducer cap for SSU2 address
This commit is contained in:
parent
40340cf9c2
commit
78b1afcc8c
2 changed files with 14 additions and 4 deletions
libi2pd
|
@ -338,6 +338,10 @@ namespace i2p
|
|||
{
|
||||
address->port = port;
|
||||
address->published = publish;
|
||||
if (publish)
|
||||
address->caps |= i2p::data::RouterInfo::eSSUIntroducer;
|
||||
else
|
||||
address->caps &= ~i2p::data::RouterInfo::eSSUIntroducer;
|
||||
updated = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue