fixed libtorrent usage to be in line with debian version
authoralex <[email protected]>
Fri, 16 Jul 2021 00:14:09 +0000 (17:14 -0700)
committeralex <[email protected]>
Fri, 16 Jul 2021 00:14:09 +0000 (17:14 -0700)
updated listen_interfaces
added setting disabling using a system provided port for firewall
stability

seederd/src/main.cpp

index 5604ebe4652fbaaff51683206ba8069a3f015368..e7b3383362f0a07627fa30b4a65e9846a881d596 100644 (file)
@@ -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) {