aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-31 23:35:50 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-31 23:35:50 +0000
commit9e13a6f31c144fc6ca06d8eceac0d91522c57274 (patch)
treeefb52ab8037da56af35083eab81491d8631944ad /src/or/command.c
parentb07bd7214b57c1ada733a4dc447d563537168db9 (diff)
downloadtor-9e13a6f31c144fc6ca06d8eceac0d91522c57274.tar
tor-9e13a6f31c144fc6ca06d8eceac0d91522c57274.tar.gz
r9457@Kushana: nickm | 2006-10-31 18:35:17 -0500
Do not warn when an OR gives us a new circuit end reason. (This will prevent bug 351 from recurring.) svn:r8887
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/command.c b/src/or/command.c
index dee38c9ec..b3952efbd 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -374,7 +374,7 @@ command_process_destroy_cell(cell_t *cell, or_connection_t *conn)
cell->circ_id == TO_OR_CIRCUIT(circ)->p_circ_id) {
/* the destroy came from behind */
circuit_set_p_circid_orconn(TO_OR_CIRCUIT(circ), 0, NULL);
- circuit_mark_for_close(circ, reason);
+ circuit_mark_for_close(circ, reason|END_CIRC_REASON_FLAG_REMOTE);
} else { /* the destroy came from ahead */
circuit_set_n_circid_orconn(circ, 0, NULL);
if (CIRCUIT_IS_ORIGIN(circ)) {