fix double call to bind() when setting outgoing_interfaces

This commit is contained in:
Arvid Norberg 2020-03-29 18:19:06 +02:00 committed by Arvid Norberg
parent a871668397
commit 9ac4e6eed8
2 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,4 @@
* fix issue with outgoing_interfaces setting, where bind() would be called twice
* add build option to disable share-mode
* support validation of HTTPS trackers
* deprecate strict super seeding mode

View File

@ -5009,7 +5009,6 @@ namespace {
bind_ep.address(bind_socket_to_device(m_io_service, s
, remote_address.is_v4() ? tcp::v4() : tcp::v6()
, ifname.c_str(), bind_ep.port(), ec));
s.bind(bind_ep, ec);
return bind_ep;
}