forward-port outgoing interface fix from RC_1_0
This commit is contained in:
parent
5d18800e04
commit
13e9eb6680
|
@ -87,6 +87,7 @@
|
|||
|
||||
1.0.9 release
|
||||
|
||||
* fix issue in checking outgoing interfaces (when that option is enabled)
|
||||
* python binding fix for boost-1.60.0
|
||||
* optimize enumeration of network interfaces on windows
|
||||
* improve reliability of binding listen sockets
|
||||
|
|
|
@ -195,13 +195,13 @@ namespace libtorrent
|
|||
if (is_any(i->destination) && i->destination.is_v4() == remote.is_v4())
|
||||
{
|
||||
best = &*i;
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
if (match_addr_mask(remote, i->destination, i->netmask))
|
||||
{
|
||||
best = &*i;
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue