diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-02-17 11:51:57 +0100 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-02-17 11:51:57 +0100 |
commit | 6198c816b1749dbe55a74084ea65694d8a391046 (patch) | |
tree | 2fb5dc0857792bea59242950c70f76a006fefee5 /src/p2p/net_node.h | |
parent | Merge pull request #3191 (diff) | |
parent | options: add testnet option dependencies (diff) | |
download | monero-6198c816b1749dbe55a74084ea65694d8a391046.tar.xz |
Merge pull request #3170
b3b2d4d2 options: add testnet option dependencies (whythat)
c5f55bb4 common: implement dynamic option dependencies mechanism (whythat)
05a12ccc options: remove testnet-* options (whythat)
c33cb60e common: implement dependent option descriptor (whythat)
Diffstat (limited to '')
-rw-r--r-- | src/p2p/net_node.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index 9ebefbca6..54c474665 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -337,8 +337,7 @@ namespace nodetool const int64_t default_limit_up = 2048; const int64_t default_limit_down = 8192; extern const command_line::arg_descriptor<std::string> arg_p2p_bind_ip; - extern const command_line::arg_descriptor<std::string> arg_p2p_bind_port; - extern const command_line::arg_descriptor<std::string> arg_testnet_p2p_bind_port; + extern const command_line::arg_descriptor<std::string, false, true> arg_p2p_bind_port; extern const command_line::arg_descriptor<uint32_t> arg_p2p_external_port; extern const command_line::arg_descriptor<bool> arg_p2p_allow_local_ip; extern const command_line::arg_descriptor<std::vector<std::string> > arg_p2p_add_peer; |