Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
NetDB: correct floodfill context option
Browse files Browse the repository at this point in the history
Prevents boost::bad_any_cast by using the correct variable_map entry.
  • Loading branch information
coneiric committed Jul 29, 2018
1 parent a6faac5 commit cc4127a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/router/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cc4127a

Please sign in to comment.