MCPcopy Create free account
hub / github.com/ElementsProject/elements / MapPortProtoSetEnabled

Function MapPortProtoSetEnabled

src/mapport.cpp:297–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297static void MapPortProtoSetEnabled(MapPortProtoFlag proto, bool enabled)
298{
299 if (enabled) {
300 g_mapport_enabled_protos |= proto;
301 } else {
302 g_mapport_enabled_protos &= ~proto;
303 }
304}
305
306void StartMapPort(bool use_upnp, bool use_natpmp)
307{

Callers 1

StartMapPortFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected