|
|
@ -178,11 +178,11 @@ namespace config { |
|
|
|
("bob.port", value<uint16_t>()->default_value(2827), "BOB listen port") |
|
|
|
("bob.port", value<uint16_t>()->default_value(2827), "BOB listen port") |
|
|
|
; |
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
options_description i2cp("I2CP options"); |
|
|
|
options_description i2cp("I2CP options"); |
|
|
|
bob.add_options() |
|
|
|
i2cp.add_options() |
|
|
|
("i2cp.enabled", value<bool>()->default_value(false), "Enable or disable I2CP") |
|
|
|
("i2cp.enabled", value<bool>()->default_value(false), "Enable or disable I2CP") |
|
|
|
("i2cp.address", value<std::string>()->default_value("127.0.0.1"), "I2CP listen address") |
|
|
|
("i2cp.address", value<std::string>()->default_value("127.0.0.1"), "I2CP listen address") |
|
|
|
("i2cp.port", value<uint16_t>()->default_value(7654), "I2CP listen port") |
|
|
|
("i2cp.port", value<uint16_t>()->default_value(7654), "I2CP listen port") |
|
|
|
; |
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
options_description i2pcontrol("I2PControl options"); |
|
|
|
options_description i2pcontrol("I2PControl options"); |
|
|
@ -208,15 +208,15 @@ namespace config { |
|
|
|
|
|
|
|
|
|
|
|
m_OptionsDesc |
|
|
|
m_OptionsDesc |
|
|
|
.add(general) |
|
|
|
.add(general) |
|
|
|
.add(limits) |
|
|
|
|
|
|
|
.add(httpserver) |
|
|
|
.add(httpserver) |
|
|
|
.add(httpproxy) |
|
|
|
.add(httpproxy) |
|
|
|
.add(socksproxy) |
|
|
|
.add(socksproxy) |
|
|
|
.add(sam) |
|
|
|
.add(sam) |
|
|
|
.add(bob) |
|
|
|
.add(bob) |
|
|
|
.add(i2cp) |
|
|
|
.add(i2cp) |
|
|
|
.add(i2pcontrol) |
|
|
|
.add(i2pcontrol) |
|
|
|
.add(precomputation) |
|
|
|
.add(precomputation) |
|
|
|
|
|
|
|
.add(limits) |
|
|
|
; |
|
|
|
; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|