diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-06 10:28:02 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-06 10:33:02 +0000 |
commit | 068fa1ca5c0bea39576d750ee92406b31af6ef38 (patch) | |
tree | 9615e5e8b36f06472360dc96a6581b4aefe73091 /src/p2p/net_node.cpp | |
parent | Merge pull request #5583 (diff) | |
download | monero-068fa1ca5c0bea39576d750ee92406b31af6ef38.tar.xz |
p2p: delay IGP probing on startup
We might have external access without having to do this
Diffstat (limited to 'src/p2p/net_node.cpp')
-rw-r--r-- | src/p2p/net_node.cpp | 1 |
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}; |