diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-07-15 12:58:13 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-07-15 13:04:12 -0400 |
commit | 6aef89bda4800384eddf79e42d965c2b011acdb4 (patch) | |
tree | 59bdfe03904c596f884bede76cdddecaa84c9641 /src/or/routerlist.h | |
parent | f40df02f3e26df792b7e364d1b6ea5dab167405c (diff) | |
download | tor-6aef89bda4800384eddf79e42d965c2b011acdb4.tar.gz tor-6aef89bda4800384eddf79e42d965c2b011acdb4.zip |
Remove compare_addr_to_node_policy
Instead, use compare_tor_addr_to_node_policy everywhere.
One advantage of this is that compare_tor_addr_to_node_policy can
better distinguish 0.0.0.0 from "unknown", which caused a nasty bug
with microdesc users.
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r-- | src/or/routerlist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h index 11290468d8..cae8814333 100644 --- a/src/or/routerlist.h +++ b/src/or/routerlist.h @@ -129,7 +129,7 @@ void router_load_extrainfo_from_string(const char *s, const char *eos, int descriptor_digests); void routerlist_retry_directory_downloads(time_t now); -int router_exit_policy_all_nodes_reject(uint32_t addr, uint16_t port, +int router_exit_policy_all_nodes_reject(const tor_addr_t *addr, uint16_t port, int need_uptime); int router_exit_policy_rejects_all(const routerinfo_t *router); |