diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-14 10:48:58 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-14 23:16:41 -0500 |
commit | 882b389668067a29bb539d0f5bd5cb2f83b93012 (patch) | |
tree | 867e692b6b15922a361633106e48aa46ebd9937d /src/or/connection_edge.h | |
parent | 6b36142bcc6f268a5312e197c4c3397065b3414e (diff) | |
download | tor-882b389668067a29bb539d0f5bd5cb2f83b93012.tar.gz tor-882b389668067a29bb539d0f5bd5cb2f83b93012.zip |
Actually send back correctly-formed IPv6 CONNECTED cells
We had some old code to send back connected cells for IPv6 addresses,
but it was wrong. Fortunately, it was also unreachable.
Diffstat (limited to 'src/or/connection_edge.h')
-rw-r--r-- | src/or/connection_edge.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/connection_edge.h b/src/or/connection_edge.h index acfa52dfe5..95bc29cba7 100644 --- a/src/or/connection_edge.h +++ b/src/or/connection_edge.h @@ -109,7 +109,9 @@ typedef struct begin_cell_t { int begin_cell_parse(const cell_t *cell, begin_cell_t *bcell, uint8_t *end_reason_out); - +int connected_cell_format_payload(uint8_t *payload_out, + const tor_addr_t *addr, + uint32_t ttl); #endif #endif |