Browse Source

all transports by default

pull/1705/head
orignal 3 years ago
parent
commit
8f0978cfd6
  1. 2
      libi2pd/TunnelConfig.h
  2. 2
      libi2pd/TunnelPool.h

2
libi2pd/TunnelConfig.h

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

2
libi2pd/TunnelPool.h

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

Loading…
Cancel
Save