Skip to content

Commit 92f88a9

Browse files
committed
doc: fixup NAT-PMP help doc
This always defaults to false, since we removed the compile time options to set it otherwise.
1 parent 02395ed commit 92f88a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ void SetupServerArgs(ArgsManager& argsman)
524524
hidden_args.emplace_back("-upnp");
525525
#endif
526526
#ifdef USE_NATPMP
527-
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);
527+
argsman.AddArg("-natpmp", strprintf("Use NAT-PMP to map the listening port (default: %u)", DEFAULT_NATPMP), ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION);
528528
#else
529529
hidden_args.emplace_back("-natpmp");
530530
#endif // USE_NATPMP

0 commit comments

Comments
 (0)