|
|
@ -672,7 +672,7 @@ namespace tunnel |
|
|
|
{ |
|
|
|
{ |
|
|
|
auto pool = tunnel->GetTunnelPool (); |
|
|
|
auto pool = tunnel->GetTunnelPool (); |
|
|
|
// let it die if the tunnel pool has been reconfigured and this is old
|
|
|
|
// let it die if the tunnel pool has been reconfigured and this is old
|
|
|
|
if (pool && tunnel->GetTunnelConfig()->GetNumHops() == pool->GetNumOutboundHops()) |
|
|
|
if (pool && tunnel->GetNumHops() == pool->GetNumOutboundHops()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
tunnel->SetIsRecreated (); |
|
|
|
tunnel->SetIsRecreated (); |
|
|
|
pool->RecreateOutboundTunnel (tunnel); |
|
|
|
pool->RecreateOutboundTunnel (tunnel); |
|
|
@ -726,7 +726,7 @@ namespace tunnel |
|
|
|
{ |
|
|
|
{ |
|
|
|
auto pool = tunnel->GetTunnelPool (); |
|
|
|
auto pool = tunnel->GetTunnelPool (); |
|
|
|
// let it die if the tunnel pool was reconfigured and has different number of hops
|
|
|
|
// let it die if the tunnel pool was reconfigured and has different number of hops
|
|
|
|
if (pool && tunnel->GetTunnelConfig()->GetNumHops() == pool->GetNumInboundHops()) |
|
|
|
if (pool && tunnel->GetNumHops() == pool->GetNumInboundHops()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
tunnel->SetIsRecreated (); |
|
|
|
tunnel->SetIsRecreated (); |
|
|
|
pool->RecreateInboundTunnel (tunnel); |
|
|
|
pool->RecreateInboundTunnel (tunnel); |
|
|
|