Browse Source

don't return routers with 'f' cap to exploratory request

pull/1941/merge
orignal 8 months ago
parent
commit
62d279e1b0
  1. 2
      libi2pd/NetDb.cpp

2
libi2pd/NetDb.cpp

@ -1452,7 +1452,7 @@ namespace data @@ -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))

Loading…
Cancel
Save