aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/or/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/command.c b/src/core/or/command.c
index 6ddfc317d6..65853f7844 100644
--- a/src/core/or/command.c
+++ b/src/core/or/command.c
@@ -641,7 +641,7 @@ command_process_destroy_cell(cell_t *cell, channel_t *chan)
* DESTROY cell down the circuit so relays can stop queuing in-flight
* cells for this circuit which helps with memory pressure. */
log_debug(LD_OR, "Received DESTROY cell from n_chan, closing circuit.");
- circuit_mark_for_close(circ, END_CIRC_REASON_TORPROTOCOL);
+ circuit_mark_for_close(circ, reason | END_CIRC_REASON_FLAG_REMOTE);
}
}
}