summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-06 14:39:40 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-22 08:55:53 -0400
commit66aff2d8f35217cc802bd46eeeaf49326d7de4b0 (patch)
treebca747b7248a034b77bcd8cb0384c0d8526d73c0 /src/or/or.h
parentab18e5e5fcff7fbdbf0905e6dd2585b7e4a10108 (diff)
downloadtor-66aff2d8f35217cc802bd46eeeaf49326d7de4b0.tar.gz
tor-66aff2d8f35217cc802bd46eeeaf49326d7de4b0.zip
Remove or_circuit_t.is_first_hop; use channel_is_client() instead
The is_first_hop field should have been called used_create_fast, but everywhere that we wanted to check it, we should have been checking channel_is_client() instead.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h
index b3cd83f245..2712ac3e59 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3459,9 +3459,6 @@ typedef struct or_circuit_t {
/* 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;
-
/** If set, this circuit carries HS traffic. Consider it in any HS
* statistics. */
unsigned int circuit_carries_hs_traffic_stats : 1;