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:
parent
78be52112f
commit
f6720e31ed
|
@ -586,7 +586,7 @@ namespace aux {
|
||||||
|
|
||||||
// apply all m_settings to this session
|
// apply all m_settings to this session
|
||||||
run_all_updates(*this);
|
run_all_updates(*this);
|
||||||
reopen_listen_sockets();
|
reopen_listen_sockets(false);
|
||||||
reopen_outgoing_sockets();
|
reopen_outgoing_sockets();
|
||||||
|
|
||||||
#if TORRENT_USE_INVARIANT_CHECKS
|
#if TORRENT_USE_INVARIANT_CHECKS
|
||||||
|
|
Loading…
Reference in New Issue