0
0
mirror of https://github.com/monero-project/kovri synced 2025-10-06 00:32:51 +02:00

NetDB: correct floodfill context option

Prevents boost::bad_any_cast by using the correct variable_map entry.
This commit is contained in:
oneiric
2018-07-29 03:17:28 +00:00
parent a6faac588f
commit cc4127afd8

View File

@@ -147,7 +147,7 @@ class RouterContext : public RouterInfoTraits, public GarlicDestination {
// @return true if we are a floodfill router otherwise false
bool IsFloodfill() const
{
return m_Opts["floodfill"].as<bool>();
return m_Opts["enable-floodfill"].as<bool>();
}
// @return true if we are going to accept tunnels right now.