diff options
author | Linus Nordberg <linus@nordberg.se> | 2012-05-11 10:22:45 +0200 |
---|---|---|
committer | Linus Nordberg <linus@torproject.org> | 2012-07-19 18:21:22 +0200 |
commit | cdef2b181a0a7690736132542fbc5307d5c38955 (patch) | |
tree | d3dd215dbb2b3e754c3179bf2f964cdf067a3bb0 /src/or/routerlist.c | |
parent | 7c80a4502ce3f0b6d95bf2cee134a89765894b74 (diff) | |
download | tor-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/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index cc47299fce..a349a4d0d8 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1343,7 +1343,7 @@ mark_all_trusteddirservers_up(void) /** Return true iff r1 and r2 have the same address and OR port. */ int -routers_have_same_or_addr(const routerinfo_t *r1, const routerinfo_t *r2) +routers_have_same_or_addrs(const routerinfo_t *r1, const routerinfo_t *r2) { return r1->addr == r2->addr && r1->or_port == r2->or_port && tor_addr_eq(&r1->ipv6_addr, &r2->ipv6_addr) && |