aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-02-23 02:12:19 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-01-07 18:07:09 +0200
commita39f7336a3b493d46a4486c4c94fdca1b3151370 (patch)
tree4adf1ae61b5b02f5081b5dbcee09b64503b0947f /src/interfaces
parent28acffd9d53ec437e908abb8c84497a4f41b91ed (diff)
downloadbitcoin-a39f7336a3b493d46a4486c4c94fdca1b3151370.tar.xz
net: Add -natpmp command line option
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/node.h b/src/interfaces/node.h
index 97549aeb0e..15f7ef6256 100644
--- a/src/interfaces/node.h
+++ b/src/interfaces/node.h
@@ -82,7 +82,7 @@ public:
virtual bool shutdownRequested() = 0;
//! Map port.
- virtual void mapPort(bool use_upnp) = 0;
+ virtual void mapPort(bool use_upnp, bool use_natpmp) = 0;
//! Get proxy.
virtual bool getProxy(Network net, proxyType& proxy_info) = 0;