Bridges are always dirs

This check was accidentally deleted in 05f7336624.
This commit is contained in:
Sebastian Hahn 2015-04-01 21:07:46 +02:00
parent 081b0c0f77
commit 86002a83d3

View File

@ -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) {