mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
notify inbound tunnels update
This commit is contained in:
@@ -26,6 +26,7 @@ namespace tunnel
|
||||
void TunnelPool::TunnelCreated (InboundTunnel * createdTunnel)
|
||||
{
|
||||
m_InboundTunnels.insert (createdTunnel);
|
||||
m_LocalDestination.SetLeaseSetUpdated ();
|
||||
}
|
||||
|
||||
void TunnelPool::TunnelExpired (InboundTunnel * expiredTunnel)
|
||||
@@ -126,6 +127,7 @@ namespace tunnel
|
||||
{
|
||||
it.second.second->SetState (eTunnelStateFailed);
|
||||
m_InboundTunnels.erase (it.second.second);
|
||||
m_LocalDestination.SetLeaseSetUpdated ();
|
||||
}
|
||||
else
|
||||
it.second.second->SetState (eTunnelStateTestFailed);
|
||||
|
||||
Reference in New Issue
Block a user