From b3e4d8487b02c402d413a0e6173e67a55ee06818 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sat, 5 Dec 2015 21:22:01 +0200 Subject: [PATCH] Add clarifying comment. --- src/core/bittorrent/session.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/bittorrent/session.cpp b/src/core/bittorrent/session.cpp index df45acd0c..a4a6b13ef 100644 --- a/src/core/bittorrent/session.cpp +++ b/src/core/bittorrent/session.cpp @@ -1399,6 +1399,8 @@ void Session::networkOnlineStateChanged(const bool online) void Session::networkConfigurationChange(const QNetworkConfiguration& cfg) { const QString configuredInterfaceName = Preferences::instance()->getNetworkInterface(); + // Empty means "Any Interface". In this case libtorrent has binded to 0.0.0.0 so any change to any interface will + // be automatically picked up. Otherwise we would rebinding here to 0.0.0.0 again. if (configuredInterfaceName.isEmpty()) return; const QString changedInterface = cfg.name();