mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge branch 'bug29875_035' into bug29875_master
This commit is contained in:
@@ -2387,7 +2387,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
|
||||
|
||||
@@ -3300,6 +3300,9 @@ num_bridges_usable,(int use_maybe_reachable))
|
||||
}
|
||||
|
||||
SMARTLIST_FOREACH_BEGIN(gs->sampled_entry_guards, entry_guard_t *, guard) {
|
||||
/* Not a bridge, or not one we are configured to be able to use. */
|
||||
if (! guard->is_filtered_guard)
|
||||
continue;
|
||||
/* Definitely not usable */
|
||||
if (guard->is_reachable == GUARD_REACHABLE_NO)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user