mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-04-26 23:55:21 +00:00
Merge pull request #2365 from majestrate/2026-04-03-i2cp-reconfigure-fix
Fixup i2cp option on reconfigure.
This commit is contained in:
@@ -161,10 +161,12 @@ namespace client
|
||||
CleanUp (); // GarlicDestination
|
||||
}
|
||||
|
||||
bool LeaseSetDestination::Reconfigure(const i2p::util::Mapping& params)
|
||||
{
|
||||
params.Get (I2CP_PARAM_DONT_PUBLISH_LEASESET, m_IsPublic);
|
||||
|
||||
bool LeaseSetDestination::Reconfigure (const i2p::util::Mapping& params)
|
||||
{
|
||||
bool dontPublishLeaseSet = !m_IsPublic;
|
||||
params.Get(I2CP_PARAM_DONT_PUBLISH_LEASESET, dontPublishLeaseSet);
|
||||
m_IsPublic = !dontPublishLeaseSet;
|
||||
auto numTags = GetNumTags ();
|
||||
params.Get (I2CP_PARAM_TAGS_TO_SEND, numTags);
|
||||
auto numRatchetInboundTags = GetNumRatchetInboundTags ();
|
||||
|
||||
Reference in New Issue
Block a user