mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
correct tigger for 0-hops LeaseSet update
This commit is contained in:
parent
a914608264
commit
1aa939ae73
@ -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…
Reference in New Issue
Block a user