all transports by default

This commit is contained in:
orignal 2021-11-06 10:49:18 -04:00
parent 1a8a32a773
commit 8f0978cfd6
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ namespace tunnel
// this constructor can't be called from outside
TunnelConfig (): m_FirstHop (nullptr), m_LastHop (nullptr), m_IsShort (false),
m_FarEndTransports (0)
m_FarEndTransports (i2p::data::RouterInfo::eAllTransports)
{
}

View File

@ -40,7 +40,7 @@ namespace tunnel
{
std::vector<Peer> peers;
bool isShort = true;
i2p::data::RouterInfo::CompatibleTransports farEndTransports = 0;
i2p::data::RouterInfo::CompatibleTransports farEndTransports = i2p::data::RouterInfo::eAllTransports;
void Add (std::shared_ptr<const i2p::data::RouterInfo> r);
void Reverse ();