net: Add -natpmp command line option

This commit is contained in:
Hennadii Stepanov
2020-02-23 02:12:19 +02:00
parent 28acffd9d5
commit a39f7336a3
9 changed files with 49 additions and 14 deletions

View File

@@ -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;