read i2cp.closeIdleTime and i2cp.newDestOnResume with correct separator

This commit is contained in:
orignal committed 2026-04-06 20:40:06 -04:00
1 parent 8bf34aacf6
commit 070adc88ee
1 file changed
+2 -2
+2 -2
View File
@@ -751,11 +751,11 @@ namespace client
clientTunnel->SetConnectTimeout(timeout);
LogPrint(eLogInfo, "Clients: I2P Client tunnel connect timeout set to ", timeout);
}
uint64_t closeIdleTime = section.second.get<uint64_t>(I2P_CLIENT_TUNNEL_CLOSE_IDLE_TIME, 0);
uint64_t closeIdleTime = section.second.get (boost::property_tree::ptree::path_type (I2P_CLIENT_TUNNEL_CLOSE_IDLE_TIME, '/'), 0);
if (closeIdleTime)
{
clientTunnel->SetCloseIdleTime(closeIdleTime);
clientTunnel->SetNewDestOnResume(section.second.get<bool>(I2P_CLIENT_TUNNEL_NEW_DEST_ON_RESUME, false));
clientTunnel->SetNewDestOnResume(section.second.get (boost::property_tree::ptree::path_type (I2P_CLIENT_TUNNEL_NEW_DEST_ON_RESUME, '/'), false));
}
auto ins = m_ClientTunnels.insert (std::make_pair (clientEndpoint, clientTunnel));