diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-10-31 18:27:48 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-14 23:16:23 -0500 |
commit | cac5335195d3bb9a39af77886992ffa98b8c7817 (patch) | |
tree | 8aebb8c010f7a3d926ceadf92be0d9e433d2a250 /src/or/addressmap.h | |
parent | 93dc7dcf418f37023b5a1e3f4e8485d8286996b4 (diff) | |
download | tor-cac5335195d3bb9a39af77886992ffa98b8c7817.tar.gz tor-cac5335195d3bb9a39af77886992ffa98b8c7817.zip |
Get the client side of receiving an IPv6 address to work
This makes it so we can handle getting an IPv6 in the 3 different
formats we specified it for in RESOLVED cells,
END_STREAM_REASON_EXITPOLICY cells, and CONNECTED cells.
We don't cache IPv6 addresses yet, since proposal 205 isn't
implemented.
There's a refactored function for parsing connected cells; it has unit
tests.
Diffstat (limited to 'src/or/addressmap.h')
-rw-r--r-- | src/or/addressmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/addressmap.h b/src/or/addressmap.h index dd8fc9bcfc..9b07341479 100644 --- a/src/or/addressmap.h +++ b/src/or/addressmap.h @@ -29,7 +29,7 @@ int parse_virtual_addr_network(const char *val, int validate_only, int client_dns_incr_failures(const char *address); void client_dns_clear_failures(const char *address); void client_dns_set_addressmap(origin_circuit_t *on_circ, - const char *address, uint32_t val, + const char *address, const tor_addr_t *val, const char *exitname, int ttl); const char *addressmap_register_virtual_address(int type, char *new_address); void addressmap_get_mappings(smartlist_t *sl, time_t min_expires, |