fixed dual IP stack issue

This commit is contained in:
Arvid Norberg 2009-03-22 20:34:57 +00:00
parent 7c4f788b9d
commit fb5ae3dc97
2 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@ release 0.14.3
of the root directory of the root directory
* added error handling for set_piece_hashes * added error handling for set_piece_hashes
* fixed missing include in enum_if.cpp * fixed missing include in enum_if.cpp
* fixed dual IP stack issue
release 0.14.2 release 0.14.2

View File

@ -3998,7 +3998,7 @@ namespace libtorrent
return; return;
} }
m_socket->open(t->get_interface().protocol(), ec); m_socket->open(m_remote.protocol(), ec);
if (ec) if (ec)
{ {
disconnect(ec.message().c_str()); disconnect(ec.message().c_str());