Update MiniUPnP to version 2.2.2 (#3131)
* Update MiniUPnP to version 2.2.2 Changelog: https://github.com/miniupnp/miniupnp/blob/miniupnpc_2_2_2/miniupnpc/Changelog.txt * Remove v2.1 miniupnpc include directories fix
This commit is contained in:
parent
c1ecd9680c
commit
db75406548
3 changed files with 4 additions and 9 deletions
|
@ -422,11 +422,6 @@ set(UPNPC_BUILD_SHARED
|
|||
OFF
|
||||
CACHE BOOL "")
|
||||
add_subdirectory(miniupnp/miniupnpc EXCLUDE_FROM_ALL)
|
||||
# FIXME: This fixes miniupnpc include directories without modifying miniupnpc's
|
||||
# CMakeLists.txt but should be set there
|
||||
set_target_properties(
|
||||
libminiupnpc-static PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
|
||||
"${CMAKE_SOURCE_DIR}/miniupnp/miniupnpc")
|
||||
|
||||
set(BUILD_SHARED
|
||||
OFF
|
||||
|
|
2
miniupnp
2
miniupnp
|
@ -1 +1 @@
|
|||
Subproject commit 582375b64f347d6ef1a4dc3478ff3678ea923f80
|
||||
Subproject commit 81029a860baf1f727903e5b85307903b3f40cbc8
|
|
@ -1,12 +1,12 @@
|
|||
#include <nano/node/node.hpp>
|
||||
#include <nano/node/portmapping.hpp>
|
||||
|
||||
#include <miniupnp/miniupnpc/upnpcommands.h>
|
||||
#include <miniupnp/miniupnpc/upnperrors.h>
|
||||
|
||||
#include <boost/format.hpp>
|
||||
#include <boost/range/adaptor/filtered.hpp>
|
||||
|
||||
#include <upnpcommands.h>
|
||||
#include <upnperrors.h>
|
||||
|
||||
nano::port_mapping::port_mapping (nano::node & node_a) :
|
||||
node (node_a),
|
||||
protocols ({ { { "TCP", boost::asio::ip::address_v4::any (), 0, true }, { "UDP", boost::asio::ip::address_v4::any (), 0, !node_a.flags.disable_udp } } })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue