Update rtorrent.rc.lua-example to use new network.listen.port.x commands

See #1935
This commit is contained in:
Jacob Reynolds
2026-08-12 08:02:13 -07:00
committed by Jari Sundell
parent b24db0eaa5
commit 5e7dd98c67
+2 -2
View File
@@ -53,8 +53,8 @@ rc.execute.throw(
cfg.watch..'/start'}))
-- Listening port for incoming peer traffic (fixed; you can also randomize it)
rc.network.port_range = '50000-50000'
rc.network.port_random = false
rc.network.listen.port.range = '50000-50000'
rc.network.listen.port.random = false
-- Tracker-less torrent and UDP tracker support
-- (conservative settings for 'private' trackers, change for 'public')