HomePhabricator

scripted-diff: Rename UPnP stuff

Description

scripted-diff: Rename UPnP stuff

Summary:

-BEGIN VERIFY SCRIPT-
sed -i 's/g_upnp_interrupt/g_mapport_interrupt/' src/mapport.cpp
sed -i 's/if(g_upnp_thread/if (g_mapport_thread/' src/mapport.cpp
sed -i 's/g_upnp_thread/g_mapport_thread/' src/mapport.cpp
sed -i 's/LOCAL_UPNP/LOCAL_MAPPED/' src/mapport.cpp
sed -i 's/\bupnp\b/mapport/' src/mapport.cpp
sed -i 's/LOCAL_UPNP,  /LOCAL_MAPPED,/' src/net.h
arc lint
-END VERIFY SCRIPT-

This is a backport of core#18077 [5/13]
https://github.com/bitcoin/bitcoin/pull/18077/commits/cf151cc68c95a8943e43e3fa4061e176262779e7

Depends on D12071

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D12073

Details

Provenance
PiRKAuthored on Sep 27 2022, 12:00
PiRKPushed on Sep 28 2022, 06:05
Reviewer
Restricted Project
Differential Revision
D12073: scripted-diff: Rename UPnP stuff
Parents
rABCe72d21c2e801: net: Add flags for port mapping protocols
Branches
Unknown
Tags
Unknown