mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-11 19:10:55 +00: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++)
|
for (int i = num; i < m_NumInboundTunnels; i++)
|
||||||
CreateInboundTunnel ();
|
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
|
m_LocalDestination->SetLeaseSetUpdated (); // update LeaseSet immediately
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user