Browse Source

publisuh peer test cap for published SSU2 addresses

pull/1767/head
orignal 2 years ago
parent
commit
dddc7ab039
  1. 4
      libi2pd/RouterContext.cpp

4
libi2pd/RouterContext.cpp

@ -352,9 +352,9 @@ namespace i2p @@ -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;
}
}

Loading…
Cancel
Save