merge RC_1_1 into master
This commit is contained in:
commit
604904c80c
|
@ -73,6 +73,7 @@
|
|||
* require C++11 to build libtorrent
|
||||
|
||||
|
||||
* fix NAT-PMP crash when removing a mapping at the wrong time
|
||||
* improve path sanitization (filter unicode text direction characters)
|
||||
* deprecate partial_piece_info::piece_state
|
||||
* bind upnp requests to correct local address
|
||||
|
|
|
@ -278,7 +278,8 @@ void natpmp::try_next_mapping(int const i)
|
|||
|
||||
auto const m = std::find_if(
|
||||
m_mappings.begin(), m_mappings.end()
|
||||
, [] (mapping_t const& ma) { return ma.act != mapping_t::action::none; });
|
||||
, [] (mapping_t const& ma) { return ma.act != mapping_t::action::none
|
||||
&& ma.protocol != portmap_protocol::none; });
|
||||
|
||||
if (m == m_mappings.end())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue