aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-03-30 19:52:42 +0000
committerNick Mathewson <nickm@torproject.org>2004-03-30 19:52:42 +0000
commit0ba9ab5fb05ceb064a24e2db91e7a2f72cea2722 (patch)
tree27a4a2cf5dd2def95fd2134a3a68ce8eb0ffbd38 /src/or/command.c
parent6ea95488d2e2b519a33bd7c2f391b520a6dc6b97 (diff)
downloadtor-0ba9ab5fb05ceb064a24e2db91e7a2f72cea2722.tar
tor-0ba9ab5fb05ceb064a24e2db91e7a2f72cea2722.tar.gz
Add rendezvous-related metadata and code to circuits. Initially, we
thought that a complicated adjunct structure would be necessary, but it doesn't look that way anymore. Of course, I might have forgotten something. svn:r1396
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/command.c b/src/or/command.c
index a55ad9c70..cf7dffc5e 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -103,6 +103,7 @@ static void command_process_create_cell(cell_t *cell, connection_t *conn) {
circ = circuit_new(cell->circ_id, conn);
circ->state = CIRCUIT_STATE_ONIONSKIN_PENDING;
+ circ->purpose = CIRCUIT_PURPOSE_INTERMEDIATE;
memcpy(circ->onionskin, cell->payload, ONIONSKIN_CHALLENGE_LEN);