merged ipv6 fix from RC_0_16

This commit is contained in:
Arvid Norberg 2013-10-08 09:30:33 +00:00
parent 722d56368c
commit 5eb5057a52
1 changed files with 1 additions and 1 deletions

View File

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