From f911c1ebc85e593c1a2ea92047a7026de7258fac Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 15 Jul 2021 17:14:09 -0700 Subject: [PATCH] fixed libtorrent usage to be in line with debian version updated listen_interfaces added setting disabling using a system provided port for firewall stability --- seederd/src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seederd/src/main.cpp b/seederd/src/main.cpp index 5604ebe..e7b3383 100644 --- a/seederd/src/main.cpp +++ b/seederd/src/main.cpp @@ -66,7 +66,8 @@ int main(int argc, char **argv) try { lt::high_performance_seed(settings); settings.set_int(lt::settings_pack::active_seeds,-1); settings.set_int(lt::settings_pack::active_limit,-1); - settings.set_str(lt::settings_pack::listen_interfaces,"0.0.0.0:6881,[::]:6881"); + settings.set_str(lt::settings_pack::listen_interfaces,"0.0.0.0:6881"); + settings.set_bool(lt::settings_pack::listen_system_port_fallback,false); settings.set_str(lt::settings_pack::user_agent,PACKAGE_STRING); if(verbose_flag) { -- 2.30.2