explicitly set random_port option to false to override default

This commit is contained in:
gmega 2024-10-28 10:37:42 -03:00
parent bc81481c4c
commit ed08ed4c22
No known key found for this signature in database
GPG Key ID: 6290D34EAD824B18
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ def main():
defaults = copy.deepcopy(DEFAULT_PREFS) defaults = copy.deepcopy(DEFAULT_PREFS)
defaults['random_port'] = False
defaults['listen_random_port'] = None defaults['listen_random_port'] = None
defaults['listen_interface'] = options['DELUGE_EXTERNAL_IP'] defaults['listen_interface'] = options['DELUGE_EXTERNAL_IP']
defaults['outgoing_interface'] = options['DELUGE_EXTERNAL_IP'] defaults['outgoing_interface'] = options['DELUGE_EXTERNAL_IP']