summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-07-07 16:10:56 +1000
committerNick Mathewson <nickm@torproject.org>2016-07-26 19:31:05 -0400
commit64bf6b70a889ee53978d70a2efc3c2a08a088826 (patch)
treef2b7c6a4f1d72c3b752ae09e261817fb903ec893 /src/or/routerlist.c
parentdfa41ac0f32729f9d5a731681d826ec3006f6fb5 (diff)
downloadtor-64bf6b70a889ee53978d70a2efc3c2a08a088826.tar.gz
tor-64bf6b70a889ee53978d70a2efc3c2a08a088826.zip
Check that extend_info_from_router is never called on a client
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 6ea9d8b0d1..2fe8c3b629 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1870,7 +1870,7 @@ router_picked_poor_directory_log(const routerstatus_t *rs)
/* When iterating through the routerlist, can OR address/port preference
* and reachability checks be skipped?
*/
-static int
+int
router_skip_or_reachability(const or_options_t *options, int try_ip_pref)
{
/* Servers always have and prefer IPv4.