summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2015-04-01 14:33:09 +0100
committerNick Mathewson <nickm@torproject.org>2015-04-01 12:58:52 -0400
commita7eae4ddc52006a5d94a07435152c4dc5ab2ac0e (patch)
tree49bd00d55dd3d6a02bf609aed7852d9c3b0a3155 /src/or/or.h
parent9063f29160615b379f907009e7158f1fcf1ed84c (diff)
downloadtor-a7eae4ddc52006a5d94a07435152c4dc5ab2ac0e.tar.gz
tor-a7eae4ddc52006a5d94a07435152c4dc5ab2ac0e.zip
Block multiple introductions on the same intro circuit.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 1609587717..adf3cfa866 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3186,6 +3186,9 @@ typedef struct or_circuit_t {
* to the specification? */
unsigned int remaining_relay_early_cells : 4;
+ /* We have already received an INTRODUCE1 cell on this circuit. */
+ unsigned int already_received_introduce1 : 1;
+
/** True iff this circuit was made with a CREATE_FAST cell. */
unsigned int is_first_hop : 1;