close connection to first hop of declined tunnel

This commit is contained in:
orignal 2014-07-18 20:32:45 -04:00
parent 05d869254d
commit 8801a144a0
4 changed files with 25 additions and 3 deletions

View file

@ -359,6 +359,7 @@ namespace i2p
else
{
LogPrint ("Outbound tunnel ", tunnel->GetTunnelID (), " has been declined");
i2p::transports.CloseSession (tunnel->GetTunnelConfig ()->GetFirstHop ()->router);
delete tunnel;
}
}