diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-06-19 12:48:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-06-19 12:48:00 -0400 |
commit | 659fc13da5f8cf7c3d7d3be238df709e8de06945 (patch) | |
tree | 9e2c7e81d628178bdb813d060a7f4497e66cf284 /src/or/directory.c | |
parent | 015189b5df17d3572d27e850336e9d1c9dc83c6d (diff) | |
download | tor-659fc13da5f8cf7c3d7d3be238df709e8de06945.tar.gz tor-659fc13da5f8cf7c3d7d3be238df709e8de06945.zip |
Change proxy-address type to tor_addr_t to allow ipv6 proxies.
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index d6457e0555..b015b9e30a 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -781,7 +781,7 @@ directory_initiate_command_rend(const char *address, const tor_addr_t *_addr, /* then we want to connect to dirport directly */ if (options->HttpProxy) { - tor_addr_from_ipv4h(&addr, options->HttpProxyAddr); + tor_addr_copy(&addr, &options->HttpProxyAddr); dir_port = options->HttpProxyPort; } |