0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

Remove configure-time setting of DEFAULT_UPNP

Default to false.
This commit is contained in:
fanquake 2023-01-13 15:29:52 +00:00
parent 06562e5fa7
commit 25a0e8ba0b
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -5,11 +5,7 @@
#ifndef BITCOIN_MAPPORT_H
#define BITCOIN_MAPPORT_H
#ifdef USE_UPNP
static constexpr bool DEFAULT_UPNP = USE_UPNP;
#else
static constexpr bool DEFAULT_UPNP = false;
#endif // USE_UPNP
static constexpr bool DEFAULT_NATPMP = false;