summaryrefslogtreecommitdiff
path: root/src/feature/control
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2021-03-17 13:43:48 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2021-03-17 13:43:48 +0200
commit0ac03390e482a7ff1008f0051ac647114ce00c09 (patch)
tree4ae4f4611a0234034d8dfda61c8167c71007c6fc /src/feature/control
parent36b54fc6aa5f6ac0a765e9e3355ec5310a23233d (diff)
parent59bbf8cde9144ee5c8d060959e723a4bedfd6bb8 (diff)
downloadtor-0ac03390e482a7ff1008f0051ac647114ce00c09.tar.gz
tor-0ac03390e482a7ff1008f0051ac647114ce00c09.zip
Merge branch 'maint-0.4.5'
Diffstat (limited to 'src/feature/control')
-rw-r--r--src/feature/control/control_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/control/control_cmd.c b/src/feature/control/control_cmd.c
index b1dc271c4a..bd0d41d29e 100644
--- a/src/feature/control/control_cmd.c
+++ b/src/feature/control/control_cmd.c
@@ -814,6 +814,7 @@ handle_control_extendcircuit(control_connection_t *conn,
if (zero_circ) {
/* start a new circuit */
circ = origin_circuit_init(intended_purpose, 0);
+ circ->first_hop_from_controller = 1;
}
/* now circ refers to something that is ready to be extended */