diff options
author | teor <teor@torproject.org> | 2020-04-15 13:04:33 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-04-29 22:43:09 +1000 |
commit | 16f3f6a1afe5dcd75536039029f51392d05ce153 (patch) | |
tree | 7cd61d102c36ad8461fa6aad3b3b2a1e97039cb7 /src/core/or/channel.h | |
parent | ec5f4f3c5a5aa4d69b2867ba41bc83ba1e6c888a (diff) | |
download | tor-16f3f6a1afe5dcd75536039029f51392d05ce153.tar.gz tor-16f3f6a1afe5dcd75536039029f51392d05ce153.zip |
relay/circuitbuild: Re-use IPv6 connections for circuits
Search for existing connections using the remote IPv4 and IPv6
addresses.
Part of 33817.
Diffstat (limited to 'src/core/or/channel.h')
-rw-r--r-- | src/core/or/channel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/or/channel.h b/src/core/or/channel.h index f86e77992d..4968c8714a 100644 --- a/src/core/or/channel.h +++ b/src/core/or/channel.h @@ -661,7 +661,8 @@ channel_t * channel_connect(const tor_addr_t *addr, uint16_t port, MOCK_DECL(channel_t *, channel_get_for_extend,( const char *rsa_id_digest, const struct ed25519_public_key_t *ed_id, - const tor_addr_t *target_addr, + const tor_addr_t *target_ipv4_addr, + const tor_addr_t *target_ipv6_addr, const char **msg_out, int *launch_out)); |