From 734fad410368951e8f375a78bc8789d24cbe9c52 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 27 Mar 2012 15:00:34 +0200 Subject: 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). --- src/or/config.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/config.c') 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 *hostname_out 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, -- cgit v1.2.3-54-g00ecf