aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-05 13:11:53 -0500
committerNick Mathewson <nickm@torproject.org>2012-11-14 23:16:25 -0500
commita58e17bcc308654b7e973debe88fe74ad817a2bb (patch)
treecb7689fdfdd38db842deb7b0f20704f5d88fc36b /src/or/router.h
parent25cf286fb1b2a11f82b3e5a0e7800a2071ec6ed2 (diff)
downloadtor-a58e17bcc308654b7e973debe88fe74ad817a2bb.tar
tor-a58e17bcc308654b7e973debe88fe74ad817a2bb.tar.gz
Change signature of router_compare_to_my_exit_policy so dns can use it
Also, fix the function so it actually looks at our ipv6 exit policy.
Diffstat (limited to 'src/or/router.h')
-rw-r--r--src/or/router.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.h b/src/or/router.h
index 7ab057706..b641c1cc6 100644
--- a/src/or/router.h
+++ b/src/or/router.h
@@ -72,7 +72,7 @@ void check_descriptor_bandwidth_changed(time_t now);
void check_descriptor_ipaddress_changed(time_t now);
void router_new_address_suggestion(const char *suggestion,
const dir_connection_t *d_conn);
-int router_compare_to_my_exit_policy(edge_connection_t *conn);
+int router_compare_to_my_exit_policy(const tor_addr_t *addr, uint16_t port);
int router_my_exit_policy_is_reject_star(void);
const routerinfo_t *router_get_my_routerinfo(void);
extrainfo_t *router_get_my_extrainfo(void);