aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-07-24 14:35:11 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-07-24 14:35:11 -0500
commit61512cf79813d1fa9b54e3c081e4d0304c419a6c (patch)
treee5b33c282cef725897b596df04c5a2ef2779ec9e /src/p2p/net_node.cpp
parentMerge pull request #5608 (diff)
parentp2p: delay IGP probing on startup (diff)
downloadmonero-61512cf79813d1fa9b54e3c081e4d0304c419a6c.tar.xz
Merge pull request #5610
068fa1c p2p: delay IGP probing on startup (moneromooo-monero)
Diffstat (limited to 'src/p2p/net_node.cpp')
-rw-r--r--src/p2p/net_node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p/net_node.cpp b/src/p2p/net_node.cpp
index b55003d75..a44297c17 100644
--- a/src/p2p/net_node.cpp
+++ b/src/p2p/net_node.cpp
@@ -135,6 +135,7 @@ namespace nodetool
const command_line::arg_descriptor<bool> arg_no_sync = {"no-sync", "Don't synchronize the blockchain with other peers", false};
const command_line::arg_descriptor<bool> arg_no_igd = {"no-igd", "Disable UPnP port mapping"};
+ const command_line::arg_descriptor<std::string> arg_igd = {"igd", "UPnP port mapping (disabled, enabled, delayed)", "delayed"};
const command_line::arg_descriptor<int64_t> arg_out_peers = {"out-peers", "set max number of out peers", -1};
const command_line::arg_descriptor<int64_t> arg_in_peers = {"in-peers", "set max number of in peers", -1};
const command_line::arg_descriptor<int> arg_tos_flag = {"tos-flag", "set TOS flag", -1};