fixed bug in network interface bind code from multi-home support patch

This commit is contained in:
Arvid Norberg 2010-07-17 18:32:06 +00:00
parent 64682072d8
commit 0dd925ef14
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ namespace libtorrent
, m_last_upload(0)
, m_interface_index(0)
{
m_net_interfaces.push_back(net_interface);
m_net_interfaces.push_back(tcp::endpoint(net_interface.address(), 0));
if (p.file_priorities)
m_file_priority = *p.file_priorities;