mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
publisuh peer test cap for published SSU2 addresses
This commit is contained in:
parent
2e4d8cdc8b
commit
dddc7ab039
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue