mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
all transports by default
This commit is contained in:
parent
1a8a32a773
commit
8f0978cfd6
@ -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)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user