mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Bridges are always dirs
This check was accidentally deleted in 05f7336624
.
This commit is contained in:
parent
081b0c0f77
commit
86002a83d3
@ -398,6 +398,9 @@ add_an_entry_guard(const node_t *chosen, int reset_status, int prepend,
|
|||||||
entry->can_retry = 1;
|
entry->can_retry = 1;
|
||||||
}
|
}
|
||||||
entry->is_dir_cache = node_is_dir(node);
|
entry->is_dir_cache = node_is_dir(node);
|
||||||
|
if (get_options()->UseBridges && node_is_a_configured_bridge(node))
|
||||||
|
entry->is_dir_cache = 1;
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
} else if (!for_directory) {
|
} else if (!for_directory) {
|
||||||
|
Loading…
Reference in New Issue
Block a user