From fb5ae3dc9723bae366838ff4a4989aa467e29b21 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 22 Mar 2009 20:34:57 +0000 Subject: [PATCH] fixed dual IP stack issue --- ChangeLog | 1 + src/peer_connection.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 04af5c428..5e0f4dbc9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -47,6 +47,7 @@ release 0.14.3 of the root directory * added error handling for set_piece_hashes * fixed missing include in enum_if.cpp + * fixed dual IP stack issue release 0.14.2 diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index 6a047a3d1..a19090184 100644 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -3998,7 +3998,7 @@ namespace libtorrent return; } - m_socket->open(t->get_interface().protocol(), ec); + m_socket->open(m_remote.protocol(), ec); if (ec) { disconnect(ec.message().c_str());