mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-28 09:43:42 +00:00
read i2cp.closeIdleTime and i2cp.newDestOnResume with correct separator
This commit is contained in:
1 parent
8bf34aacf6
commit
070adc88ee
1 file changed
+2
-2
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user