mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
replace ntcp2 by ntcp2.enabled
This commit is contained in:
parent
f6495e59c5
commit
5001592fb4
3 changed files with 9 additions and 4 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue