From: alex Date: Fri, 16 Jul 2021 00:14:09 +0000 (-0700) Subject: fixed libtorrent usage to be in line with debian version X-Git-Tag: v1.0.3~1 X-Git-Url: http://git.infiniteadaptability.org/?a=commitdiff_plain;h=f911c1ebc85e593c1a2ea92047a7026de7258fac;p=seeder fixed libtorrent usage to be in line with debian version updated listen_interfaces added setting disabling using a system provided port for firewall stability --- 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) {