mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
bugfix: only try to use the EntryNodes config option if it is set.
svn:r5701
This commit is contained in:
parent
ddf070e204
commit
358052416d
@ -704,8 +704,9 @@ options_act(or_options_t *old_options)
|
||||
}
|
||||
|
||||
/* Check if we need to parse and add the EntryNodes config option. */
|
||||
if (!old_options ||
|
||||
!opt_streq(old_options->EntryNodes, options->EntryNodes))
|
||||
if (options->EntryNodes &&
|
||||
(!old_options ||
|
||||
!opt_streq(old_options->EntryNodes, options->EntryNodes)))
|
||||
entry_nodes_should_be_added();
|
||||
|
||||
/* Since our options changed, we might need to regenerate and upload our
|
||||
|
Loading…
Reference in New Issue
Block a user