diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-01-06 20:50:55 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-01-06 20:50:55 +0000 |
commit | 462f64b6b993d46f5b61c7e2333cc526d15ba884 (patch) | |
tree | e5c9ff1ec2a7a77da5a46fc7016d5cad79ff0a4d /src/or/eventdns.h | |
parent | 585d4a12b50aa0151411c777a6c7d266d71fb46f (diff) | |
download | tor-462f64b6b993d46f5b61c7e2333cc526d15ba884.tar.gz tor-462f64b6b993d46f5b61c7e2333cc526d15ba884.zip |
Make outgoing DNS requests respect OutboundBindAddress.
Fixes the bug part of bug 789.
svn:r17983
Diffstat (limited to 'src/or/eventdns.h')
-rw-r--r-- | src/or/eventdns.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/eventdns.h b/src/or/eventdns.h index 8d9a0b8fb8..d3d359d2fb 100644 --- a/src/or/eventdns.h +++ b/src/or/eventdns.h @@ -264,6 +264,7 @@ int evdns_clear_nameservers_and_suspend(void); int evdns_resume(void); int evdns_nameserver_ip_add(const char *ip_as_string); int evdns_nameserver_sockaddr_add(const struct sockaddr *sa, socklen_t len); +void evdns_set_default_outgoing_bind_address(const struct sockaddr *addr, socklen_t addrlen); int evdns_resolve_ipv4(const char *name, int flags, evdns_callback_type callback, void *ptr); int evdns_resolve_ipv6(const char *name, int flags, evdns_callback_type callback, void *ptr); struct in_addr; |