aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2012-05-11 10:22:45 +0200
committerLinus Nordberg <linus@torproject.org>2012-07-19 18:21:22 +0200
commitcdef2b181a0a7690736132542fbc5307d5c38955 (patch)
treed3dd215dbb2b3e754c3179bf2f964cdf067a3bb0 /src/or/routerlist.h
parent7c80a4502ce3f0b6d95bf2cee134a89765894b74 (diff)
downloadtor-cdef2b181a0a7690736132542fbc5307d5c38955.tar
tor-cdef2b181a0a7690736132542fbc5307d5c38955.tar.gz
Rename routers_have_same_or_addr() to reflect the fact that it now checks both OR ports.
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r--src/or/routerlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index 8dcc6eb02..e84b0405d 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -36,7 +36,7 @@ const routerstatus_t *router_pick_trusteddirserver(dirinfo_type_t type,
int router_get_my_share_of_directory_requests(double *v2_share_out,
double *v3_share_out);
void router_reset_status_download_failures(void);
-int routers_have_same_or_addr(const routerinfo_t *r1, const routerinfo_t *r2);
+int routers_have_same_or_addrs(const routerinfo_t *r1, const routerinfo_t *r2);
int router_nickname_is_in_list(const routerinfo_t *router, const char *list);
const routerinfo_t *routerlist_find_my_routerinfo(void);
const node_t *router_find_exact_exit_enclave(const char *address,