summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-01-13 16:49:48 -0500
committerNick Mathewson <nickm@torproject.org>2017-01-13 16:49:48 -0500
commit94e8f60901eee5d0f0da512703e4de7fb7e0b449 (patch)
tree34182b10f0d9c19e382eb2989caeccea8bddb418 /src/or/routerlist.c
parent3e45b12f38beca55f58ea612a9f77580e76e37d8 (diff)
parent8a7e5c3ba082c5a90db2f4e1bc701fcdcfb86cd8 (diff)
downloadtor-94e8f60901eee5d0f0da512703e4de7fb7e0b449.tar.gz
tor-94e8f60901eee5d0f0da512703e4de7fb7e0b449.zip
Merge branch 'ipv6-only-client_squashed'
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 78e7d02ebe..e6ccdddbef 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -949,7 +949,7 @@ authority_certs_fetch_resource_impl(const char *resource,
/* If we've just downloaded a consensus from a bridge, re-use that
* bridge */
- if (options->UseBridges && node && !get_via_tor) {
+ if (options->UseBridges && node && node->ri && !get_via_tor) {
/* clients always make OR connections to bridges */
tor_addr_port_t or_ap;
/* we are willing to use a non-preferred address if we need to */