Browse Source

Correct processing of reseed.floodfill option

pull/1898/head
Vort 2 years ago
parent
commit
6610af08c2
  1. 4
      libi2pd/NetDb.cpp

4
libi2pd/NetDb.cpp

@ -431,8 +431,8 @@ namespace data
} }
// try reseeding from floodfill first if specified // try reseeding from floodfill first if specified
std::string riPath; std::string riPath; i2p::config::GetOption("reseed.floodfill", riPath);
if(i2p::config::GetOption("reseed.floodfill", riPath)) if (!riPath.empty())
{ {
auto ri = std::make_shared<RouterInfo>(riPath); auto ri = std::make_shared<RouterInfo>(riPath);
if (ri->IsFloodfill()) if (ri->IsFloodfill())

Loading…
Cancel
Save