enable NTCP2 server for Yggdrasil

This commit is contained in:
orignal 2021-02-06 18:11:34 -05:00
parent 313921da56
commit 374e0cbbc3

View File

@ -339,7 +339,7 @@ namespace util
if(!ntcp2) LogPrint(eLogInfo, "Daemon: ntcp2 disabled");
i2p::transport::transports.SetCheckReserved(checkInReserved);
i2p::transport::transports.Start(ntcp2, ssu);
i2p::transport::transports.Start(ntcp2 || i2p::context.SupportsMesh (), ssu);
if (i2p::transport::transports.IsBoundSSU() || i2p::transport::transports.IsBoundNTCP2())
LogPrint(eLogInfo, "Daemon: Transports started");
else