Browse Source

correct tigger for 0-hops LeaseSet update

pull/718/head
orignal 8 years ago
parent
commit
1aa939ae73
  1. 2
      TunnelPool.cpp

2
TunnelPool.cpp

@ -232,7 +232,7 @@ namespace tunnel @@ -232,7 +232,7 @@ namespace tunnel
for (int i = num; i < m_NumInboundTunnels; i++)
CreateInboundTunnel ();
if (num > 0 && m_NumInboundHops <= 0 && m_LocalDestination) // zero hops IB
if (num < m_NumInboundTunnels && m_NumInboundHops <= 0 && m_LocalDestination) // zero hops IB
m_LocalDestination->SetLeaseSetUpdated (); // update LeaseSet immediately
}

Loading…
Cancel
Save