* fix build

This commit is contained in:
hagen 2016-01-21 12:56:53 +00:00
parent 928abf7094
commit 97ca8b7ada
2 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,7 @@ namespace client
m_SSLContext (m_Service, boost::asio::ssl::context::sslv23),
m_ShutdownTimer (m_Service)
{
GetOption("i2pcontrol.password", m_Password);
i2p::config::GetOption("i2pcontrol.password", m_Password);
// certificate
auto path = GetPath ();

View File

@ -47,6 +47,8 @@ namespace client
const char I2P_CONTROL_PARAM_ECHO[] = "Echo";
const char I2P_CONTROL_PARAM_RESULT[] = "Result";
const char I2P_CONTROL_I2PCONTROL_PASSWORD[] = "i2pcontrol.password";
// RouterInfo requests
const char I2P_CONTROL_ROUTER_INFO_UPTIME[] = "i2p.router.uptime";
const char I2P_CONTROL_ROUTER_INFO_VERSION[] = "i2p.router.version";