count lease expiration threshold

This commit is contained in:
orignal 2016-02-12 20:56:29 -05:00
parent 333103f50e
commit c561d71dc0
2 changed files with 2 additions and 2 deletions

View file

@ -198,7 +198,7 @@ namespace client
else
{
auto ls = i2p::data::netdb.FindLeaseSet (ident);
if (ls)
if (ls && !ls->IsExpired ())
{
ls->PopulateLeases (); // since we don't store them in netdb
m_RemoteLeaseSets[ident] = ls;