diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2015-04-01 21:07:46 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2015-04-01 21:07:46 +0200 |
commit | 86002a83d37287308543adfe44f3d5f2f4bdd3a5 (patch) | |
tree | 9ed5689b1de482d4fe75392d7e4efbc701ca8365 | |
parent | 081b0c0f770a05b4a6a60c23cd9f275f799a8742 (diff) | |
download | tor-86002a83d37287308543adfe44f3d5f2f4bdd3a5.tar.gz tor-86002a83d37287308543adfe44f3d5f2f4bdd3a5.zip |
Bridges are always dirs
This check was accidentally deleted in 05f7336624d6a47b3cf0fe82.
-rw-r--r-- | src/or/entrynodes.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index a9a92e2242..9663f34002 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -398,6 +398,9 @@ add_an_entry_guard(const node_t *chosen, int reset_status, int prepend, entry->can_retry = 1; } 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; } } else if (!for_directory) { |