Browse Source

create inbound tunnel though outbound

pull/93/head
orignal 10 years ago
parent
commit
d2160efdc8
  1. 2
      TunnelPool.cpp

2
TunnelPool.cpp

@ -188,7 +188,7 @@ namespace tunnel @@ -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);
}

Loading…
Cancel
Save