diff options
author | Linus Nordberg <linus@nordberg.se> | 2012-03-27 15:00:34 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2012-03-28 22:16:55 +0200 |
commit | 734fad410368951e8f375a78bc8789d24cbe9c52 (patch) | |
tree | 4ad1bd8fa10e45a018faf358ae6d9a0f0f569b9c /src/or/config.c | |
parent | 77bc1b803e0d58b23ff48c2359300ef812f10ee1 (diff) | |
download | tor-734fad410368951e8f375a78bc8789d24cbe9c52.tar.gz tor-734fad410368951e8f375a78bc8789d24cbe9c52.zip |
Make relays handle an address suggestion from a directory server giving an IPv6 address.
last_guessed_ip becomes a tor_addr_t.
Most parts of router_new_address_suggestion() learns
about IPv6 (resolve_my_address() is still IPv4 only).
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 05f53bdd2d..ff9ccc5003 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -2802,6 +2802,7 @@ static uint32_t last_resolved_addr = 0; * set *<b>hostname_out</b> to a new string holding the hostname we used to * get the address. Return 0 if all is well, or -1 if we can't find a suitable * public IP address. + * XXXX ipv6 */ int resolve_my_address(int warn_severity, const or_options_t *options, |