summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
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/dirserv.c
parent7c80a4502ce3f0b6d95bf2cee134a89765894b74 (diff)
downloadtor-cdef2b181a0a7690736132542fbc5307d5c38955.tar.gz
tor-cdef2b181a0a7690736132542fbc5307d5c38955.zip
Rename routers_have_same_or_addr() to reflect the fact that it now checks both OR ports.
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 2d9387ee19..4d6f93d180 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -3356,7 +3356,7 @@ dirserv_should_launch_reachability_test(const routerinfo_t *ri,
/* It just came out of hibernation; launch a reachability test */
return 1;
}
- if (! routers_have_same_or_addr(ri, ri_old)) {
+ if (! routers_have_same_or_addrs(ri, ri_old)) {
/* Address or port changed; launch a reachability test */
return 1;
}