mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Consider dir info to have changed when the bridges change
Otherwise, we won't realize that we haven't got enough bridge information to build circuits. Part of a fix for ticket 29875.
This commit is contained in:
parent
e5deb2bbc7
commit
5b3c886584
1 changed files with 2 additions and 1 deletions
|
@ -2412,7 +2412,8 @@ options_act(const or_options_t *old_options)
|
||||||
if (!bool_eq(directory_fetches_dir_info_early(options),
|
if (!bool_eq(directory_fetches_dir_info_early(options),
|
||||||
directory_fetches_dir_info_early(old_options)) ||
|
directory_fetches_dir_info_early(old_options)) ||
|
||||||
!bool_eq(directory_fetches_dir_info_later(options),
|
!bool_eq(directory_fetches_dir_info_later(options),
|
||||||
directory_fetches_dir_info_later(old_options))) {
|
directory_fetches_dir_info_later(old_options)) ||
|
||||||
|
!config_lines_eq(old_options->Bridges, options->Bridges)) {
|
||||||
/* Make sure update_router_have_minimum_dir_info() gets called. */
|
/* Make sure update_router_have_minimum_dir_info() gets called. */
|
||||||
router_dir_info_changed();
|
router_dir_info_changed();
|
||||||
/* We might need to download a new consensus status later or sooner than
|
/* We might need to download a new consensus status later or sooner than
|
||||||
|
|
Loading…
Add table
Reference in a new issue