publisuh peer test cap for published SSU2 addresses

This commit is contained in:
orignal 2022-06-10 10:33:27 -04:00
parent 2e4d8cdc8b
commit dddc7ab039

View File

@ -352,9 +352,9 @@ namespace i2p
address->port = port;
address->published = publish;
if (publish)
address->caps |= i2p::data::RouterInfo::eSSUIntroducer;
address->caps |= (i2p::data::RouterInfo::eSSUIntroducer | i2p::data::RouterInfo::eSSUTesting);
else
address->caps &= ~i2p::data::RouterInfo::eSSUIntroducer;
address->caps &= ~(i2p::data::RouterInfo::eSSUIntroducer | i2p::data::RouterInfo::eSSUTesting);
updated = true;
}
}