mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +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
|
|
@ -166,9 +166,9 @@ static void MapPortProtoSetEnabled(bool enabled)
|
|||
g_mapport_enabled = enabled;
|
||||
}
|
||||
|
||||
void StartMapPort(bool use_pcp)
|
||||
void StartMapPort(bool enable)
|
||||
{
|
||||
MapPortProtoSetEnabled(use_pcp);
|
||||
MapPortProtoSetEnabled(enable);
|
||||
DispatchMapPort();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue