add option to only connect to certain routers

This commit is contained in:
Jeff Becker 2016-10-28 12:50:26 -04:00
parent 5c64c2ff42
commit 5f396d6311
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
6 changed files with 130 additions and 26 deletions

View file

@ -184,6 +184,7 @@ namespace config {
trust.add_options()
("trust.enabled", value<bool>()->default_value(false), "enable explicit trust options")
("trust.family", value<std::string>()->default_value(""), "Router Familiy to trust for first hops")
("trust.routers", value<std::string>()->default_value(""), "Only Connect to these routers")
("trust.hidden", value<bool>()->default_value(false), "should we hide our router from other routers?");
m_OptionsDesc