From f6720e31edcddef451fdca69bc73e45933cdcb61 Mon Sep 17 00:00:00 2001 From: Steven Siloti Date: Mon, 28 May 2018 20:58:50 -0700 Subject: [PATCH] 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. --- src/session_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session_impl.cpp b/src/session_impl.cpp index b30590728..974a7177d 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -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