From 882b389668067a29bb539d0f5bd5cb2f83b93012 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 14 Nov 2012 10:48:58 -0500 Subject: 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. --- src/or/connection_edge.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/or/connection_edge.h') 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 -- cgit v1.2.3-54-g00ecf