mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
net: Add flags for port mapping protocols
This commit is contained in:
parent
8b50d1b5bb
commit
4e91b1e24d
4 changed files with 37 additions and 15 deletions
|
|
@ -1900,9 +1900,7 @@ bool AppInitMain(const util::Ref& context, NodeContext& node, interfaces::BlockA
|
|||
Discover();
|
||||
|
||||
// Map ports with UPnP
|
||||
if (args.GetBoolArg("-upnp", DEFAULT_UPNP)) {
|
||||
StartMapPort();
|
||||
}
|
||||
StartMapPort(args.GetBoolArg("-upnp", DEFAULT_UPNP));
|
||||
|
||||
CConnman::Options connOptions;
|
||||
connOptions.nLocalServices = nLocalServices;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue