mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Correct processing of reseed.floodfill option
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user