mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
mapport: rename 'use_pcp' to 'enable'
There is only a single protocol now, caller should just be concerned about whether to enable port mapping or not.
This commit is contained in:
parent
c4e82b854c
commit
2a6536ceda
4 changed files with 5 additions and 5 deletions
|
|
@ -187,7 +187,7 @@ public:
|
|||
});
|
||||
args().WriteSettingsFile();
|
||||
}
|
||||
void mapPort(bool use_pcp) override { StartMapPort(use_pcp); }
|
||||
void mapPort(bool enable) override { StartMapPort(enable); }
|
||||
bool getProxy(Network net, Proxy& proxy_info) override { return GetProxy(net, proxy_info); }
|
||||
size_t getNodeCount(ConnectionDirection flags) override
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue