Skip to content

Commit

Permalink
doc: fixup NAT-PMP help doc
Browse files Browse the repository at this point in the history
This always defaults to false, since we removed the compile time options
to set it otherwise.
  • Loading branch information
fanquake committed Nov 16, 2023
1 parent 02395ed commit 92f88a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init.cpp
Expand Up @@ -524,7 +524,7 @@ void SetupServerArgs(ArgsManager& argsman)
hidden_args.emplace_back("-upnp");
#endif
#ifdef USE_NATPMP
argsman.AddArg("-natpmp", strprintf("Use NAT-PMP to map the listening port (default: %s)", DEFAULT_NATPMP ? "1 when listening and no -proxy" : "0"), ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION);
argsman.AddArg("-natpmp", strprintf("Use NAT-PMP to map the listening port (default: %u)", DEFAULT_NATPMP), ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION);
#else
hidden_args.emplace_back("-natpmp");
#endif // USE_NATPMP
Expand Down

0 comments on commit 92f88a9

Please sign in to comment.