replace ntcp2 by ntcp2.enabled

This commit is contained in:
orignal 2018-07-19 09:45:24 -04:00
parent f6495e59c5
commit 5001592fb4
3 changed files with 9 additions and 4 deletions

View file

@ -193,7 +193,7 @@ namespace transport
return;
}
// create NTCP2. TODO: move to acceptor
bool ntcp2; i2p::config::GetOption("ntcp2", ntcp2);
bool ntcp2; i2p::config::GetOption("ntcp2.enabled", ntcp2);
if (ntcp2)
{
m_NTCP2Server = new NTCP2Server ();