don't re-map all listen sockets when changing listen_interfaces

New sockets will be mapped regardless of the remap parameter. Requesting
full re-mapping just creates unecessary network traffic.
This commit is contained in:
Steven Siloti 2018-05-28 20:58:50 -07:00
parent 78be52112f
commit f6720e31ed
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ namespace aux {
// apply all m_settings to this session
run_all_updates(*this);
reopen_listen_sockets();
reopen_listen_sockets(false);
reopen_outgoing_sockets();
#if TORRENT_USE_INVARIANT_CHECKS