aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-06-06 10:28:02 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-06-06 10:33:02 +0000
commit068fa1ca5c0bea39576d750ee92406b31af6ef38 (patch)
tree9615e5e8b36f06472360dc96a6581b4aefe73091 /src/p2p/net_node.cpp
parentMerge pull request #5583 (diff)
downloadmonero-068fa1ca5c0bea39576d750ee92406b31af6ef38.tar.xz
p2p: delay IGP probing on startup
We might have external access without having to do this
Diffstat (limited to '')
-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 fcbcce58c..144bbde48 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};