From 070adc88ee263438456ead42ab9947dfe8c6cb6c Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 6 Apr 2026 20:40:06 -0400 Subject: [PATCH] read i2cp.closeIdleTime and i2cp.newDestOnResume with correct separator --- libi2pd_client/ClientContext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libi2pd_client/ClientContext.cpp b/libi2pd_client/ClientContext.cpp index bd4c3fa6..514924f1 100644 --- a/libi2pd_client/ClientContext.cpp +++ b/libi2pd_client/ClientContext.cpp @@ -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(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(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));