send floodfill in DatabaseSerachReply

This commit is contained in:
orignal 2014-07-24 22:01:07 -04:00
parent 3961fdc2e1
commit 3d669c95d9
3 changed files with 19 additions and 6 deletions

View file

@ -582,7 +582,10 @@ namespace data
replyMsg = CreateDatabaseStoreMsg (router);
}
else
replyMsg = CreateDatabaseSearchReply (buf);
{
std::set<IdentHash> excluded; // empty for now
replyMsg = CreateDatabaseSearchReply (buf, GetClosestFloodfill (buf, excluded));
}
if (replyMsg)
{
if (replyTunnelID)