summaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-10-27 16:46:45 +0000
committerNick Mathewson <nickm@torproject.org>2008-10-27 16:46:45 +0000
commitee31e0829e976412c57521ab1cacfb57a1a76931 (patch)
tree41397a27cf5a528d8d2829b2f1008895c09183d6 /src/or/relay.c
parent0ab45fee73812a90c8714a6a3d99d5727a6733f3 (diff)
downloadtor-ee31e0829e976412c57521ab1cacfb57a1a76931.tar.gz
tor-ee31e0829e976412c57521ab1cacfb57a1a76931.zip
Verify cpath_layer match on rendezvous cells too. Fixes another case of bug 446. Based on patch from rovv.
svn:r17162
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 5bb712bf19..e5d6d73be0 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -1151,7 +1151,8 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
case RELAY_COMMAND_RENDEZVOUS2:
case RELAY_COMMAND_INTRO_ESTABLISHED:
case RELAY_COMMAND_RENDEZVOUS_ESTABLISHED:
- rend_process_relay_cell(circ, rh.command, rh.length,
+ rend_process_relay_cell(circ, layer_hint,
+ rh.command, rh.length,
cell->payload+RELAY_HEADER_SIZE);
return 0;
}