fix double call to bind() when setting outgoing_interfaces
This commit is contained in:
parent
a871668397
commit
9ac4e6eed8
|
@ -1,3 +1,4 @@
|
||||||
|
* fix issue with outgoing_interfaces setting, where bind() would be called twice
|
||||||
* add build option to disable share-mode
|
* add build option to disable share-mode
|
||||||
* support validation of HTTPS trackers
|
* support validation of HTTPS trackers
|
||||||
* deprecate strict super seeding mode
|
* deprecate strict super seeding mode
|
||||||
|
|
|
@ -5009,7 +5009,6 @@ namespace {
|
||||||
bind_ep.address(bind_socket_to_device(m_io_service, s
|
bind_ep.address(bind_socket_to_device(m_io_service, s
|
||||||
, remote_address.is_v4() ? tcp::v4() : tcp::v6()
|
, remote_address.is_v4() ? tcp::v4() : tcp::v6()
|
||||||
, ifname.c_str(), bind_ep.port(), ec));
|
, ifname.c_str(), bind_ep.port(), ec));
|
||||||
s.bind(bind_ep, ec);
|
|
||||||
return bind_ep;
|
return bind_ep;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue