mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-28 20:08:16 +00:00
create inbound tunnel though outbound
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@ namespace tunnel
|
||||
hops.push_back (hop);
|
||||
}
|
||||
std::reverse (hops.begin (), hops.end ());
|
||||
auto * tunnel = tunnels.CreateTunnel<InboundTunnel> (new TunnelConfig (hops));
|
||||
auto * tunnel = tunnels.CreateTunnel<InboundTunnel> (new TunnelConfig (hops), outboundTunnel);
|
||||
tunnel->SetTunnelPool (this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user