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-03 09:35:47 -0400
commit8dba8a088d7c1402831ab5a7211a4a347a60ff7a (patch)
treec3e34874455b7400f8257031d73e36992c0ff206 /src/or/or.h
parent2bcb596dcf3dd5972de3875da3f1d9485115ce38 (diff)
downloadtor-8dba8a088d7c1402831ab5a7211a4a347a60ff7a.tar.gz
tor-8dba8a088d7c1402831ab5a7211a4a347a60ff7a.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 34f055cf06..4459957a06 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3157,6 +3157,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;