summaryrefslogtreecommitdiff
path: root/src/or/hs_circuit.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-04-05 12:26:02 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:33 -0400
commit100386e659533cfa92c5bfff93a15fb3535f7970 (patch)
tree9b658596a0c62cb738e876ded2dc975155bc2243 /src/or/hs_circuit.c
parentdfa6301aed8f1c7164b1e8513ab64119944d976c (diff)
downloadtor-100386e659533cfa92c5bfff93a15fb3535f7970.tar.gz
tor-100386e659533cfa92c5bfff93a15fb3535f7970.zip
prop224: Support legacy INTRODUCE2 cell
Also rename some function to follow a bit more the naming convention in that file. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_circuit.c')
-rw-r--r--src/or/hs_circuit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/hs_circuit.c b/src/or/hs_circuit.c
index 22a2c33479..543cbac6d3 100644
--- a/src/or/hs_circuit.c
+++ b/src/or/hs_circuit.c
@@ -13,6 +13,7 @@
#include "config.h"
#include "policies.h"
#include "relay.h"
+#include "rendservice.h"
#include "rephist.h"
#include "router.h"
@@ -809,6 +810,7 @@ hs_circ_handle_introduce2(const hs_service_t *service,
data.payload = payload;
data.payload_len = payload_len;
data.link_specifiers = smartlist_new();
+ data.is_legacy = ip->base.is_only_legacy;
if (hs_cell_parse_introduce2(&data, circ, service) < 0) {
goto done;