diff --git a/TunnelPool.cpp b/TunnelPool.cpp index e04cf501..7f65c731 100644 --- a/TunnelPool.cpp +++ b/TunnelPool.cpp @@ -188,7 +188,7 @@ namespace tunnel hops.push_back (hop); } std::reverse (hops.begin (), hops.end ()); - auto * tunnel = tunnels.CreateTunnel (new TunnelConfig (hops)); + auto * tunnel = tunnels.CreateTunnel (new TunnelConfig (hops), outboundTunnel); tunnel->SetTunnelPool (this); }