Skip to content

Commit

Permalink
don't return routers with 'f' cap to exploratory request
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Apr 29, 2024
1 parent a1fcd8a commit 62d279e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libi2pd/NetDb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1452,7 +1452,7 @@ namespace data
// must be called from NetDb thread only
for (const auto& it: m_RouterInfos)
{
if (!it.second->IsFloodfill () && it.second->GetProfile ()->IsReal ())
if (!it.second->IsDeclaredFloodfill () && it.second->GetProfile ()->IsReal ())
{
XORMetric m = destKey ^ it.first;
if (m < minMetric && !excluded.count (it.first))
Expand Down

0 comments on commit 62d279e

Please sign in to comment.