mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-13 15:27:52 +00:00
Correct processing of reseed.floodfill option
This commit is contained in:
parent
4db643aa8e
commit
6610af08c2
@ -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…
Reference in New Issue
Block a user