diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-05-31 11:46:58 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-05-31 12:27:42 -0400 |
commit | 5b3c8865842f3b12d3ea35db19e8feb135bb46dc (patch) | |
tree | 7e960a6a519007e5e1957e2db05e37cb7cf894ae /src/app/config | |
parent | e5deb2bbc73d8830ae6c479a4532e72112f5484a (diff) | |
download | tor-5b3c8865842f3b12d3ea35db19e8feb135bb46dc.tar.gz tor-5b3c8865842f3b12d3ea35db19e8feb135bb46dc.zip |
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.
Diffstat (limited to 'src/app/config')
-rw-r--r-- | src/app/config/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c index 2a504d3065..7f6657db3c 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -2412,7 +2412,8 @@ options_act(const or_options_t *old_options) if (!bool_eq(directory_fetches_dir_info_early(options), directory_fetches_dir_info_early(old_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. */ router_dir_info_changed(); /* We might need to download a new consensus status later or sooner than |