summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2021-02-06 17:21:11 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2021-02-06 17:26:30 +0000
commit092d07b68e48fb8480cb068bc6558ba3b269fb95 (patch)
tree58954b0a45684732638650fddfee481cf428a660
parentda5d5bee209df81d6957aacb153eac00c9a457e6 (diff)
downloaddeluge-092d07b68e48fb8480cb068bc6558ba3b269fb95.tar.gz
deluge-092d07b68e48fb8480cb068bc6558ba3b269fb95.tar.bz2
deluge-092d07b68e48fb8480cb068bc6558ba3b269fb95.zip
[#3337|Core] Fix lt listen_interfaces not comma-separated
A typo meant that the interfaces supplied to libtorrent were not comma-separated. Refs: https://github.com/arvidn/libtorrent/blob/RC_1_1/include/libtorrent/string_util.hpp#L70
-rw-r--r--deluge/core/preferencesmanager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/core/preferencesmanager.py b/deluge/core/preferencesmanager.py
index db9556acc..c250130c0 100644
--- a/deluge/core/preferencesmanager.py
+++ b/deluge/core/preferencesmanager.py
@@ -231,7 +231,7 @@ class PreferencesManager(component.Component):
self.core.apply_session_settings(
{
'listen_system_port_fallback': self.config['listen_use_sys_port'],
- 'listen_interfaces': ''.join(interfaces),
+ 'listen_interfaces': ','.join(interfaces),
}
)