mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-31 09:04:14 +00:00
respond with confirmied router to exploratory lookup
This commit is contained in:
parent
8b7941c4ce
commit
02895d4cf5
@ -1407,7 +1407,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 ())
|
if (!it.second->IsFloodfill () && 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…
x
Reference in New Issue
Block a user