exploratory improvement

This commit is contained in:
orignal 2014-08-10 09:04:17 -04:00
parent 49c57db6b7
commit e7126908f9
3 changed files with 19 additions and 4 deletions

View file

@ -559,7 +559,19 @@ namespace data
}
}
else
{
LogPrint ("Requested destination for ", key, " not found");
// it might contain new routers
for (int i = 0; i < num; i++)
{
IdentHash router (buf + 33 + i*32);
if (!FindRouter (router))
{
LogPrint ("New router ", router.ToBase64 (), " found. Request it");
RequestDestination (router);
}
}
}
i2p::DeleteI2NPMessage (msg);
}