mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
don't return routers with 'f' cap to exploratory request
This commit is contained in:
parent
a1fcd8af39
commit
62d279e1b0
1 changed files with 1 additions and 1 deletions
|
@ -1452,7 +1452,7 @@ namespace data
|
||||||
// must be called from NetDb thread only
|
// must be called from NetDb thread only
|
||||||
for (const auto& it: m_RouterInfos)
|
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;
|
XORMetric m = destKey ^ it.first;
|
||||||
if (m < minMetric && !excluded.count (it.first))
|
if (m < minMetric && !excluded.count (it.first))
|
||||||
|
|
Loading…
Add table
Reference in a new issue