forked from premiere/premiere-libtorrent
merged ipv6 fix from RC_0_16
This commit is contained in:
parent
722d56368c
commit
5eb5057a52
|
@ -718,7 +718,7 @@ void udp_socket::bind(udp::endpoint const& ep, error_code& ec)
|
|||
if (ec) return;
|
||||
#ifdef IPV6_V6ONLY
|
||||
m_ipv6_sock.set_option(v6only(true), ec);
|
||||
if (ec) return;
|
||||
ec.clear();
|
||||
#endif
|
||||
m_ipv6_sock.bind(ep6, ec);
|
||||
if (ec) return;
|
||||
|
|
Loading…
Reference in New Issue