summaryrefslogtreecommitdiff
path: root/src/feature/control
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2021-12-15 12:41:00 +0000
committerAlexander Færøy <ahf@torproject.org>2021-12-15 12:41:00 +0000
commit48d778bc3246cd7e459475f1045ad24684ddeb85 (patch)
tree74f4cb4487f8e03ec371e3e0646610454bc9ffa8 /src/feature/control
parent95b82c4feede91e18ec24dafeb382208186a9791 (diff)
parentdd085d42f96e39f9387aa1d7a306100c0d7df305 (diff)
downloadtor-48d778bc3246cd7e459475f1045ad24684ddeb85.tar.gz
tor-48d778bc3246cd7e459475f1045ad24684ddeb85.zip
Merge remote-tracking branch 'tor-gitlab/mr/491' into main
Diffstat (limited to 'src/feature/control')
-rw-r--r--src/feature/control/control_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/control/control_cmd.c b/src/feature/control/control_cmd.c
index 2950a1c0cc..b19935e456 100644
--- a/src/feature/control/control_cmd.c
+++ b/src/feature/control/control_cmd.c
@@ -817,6 +817,8 @@ handle_control_extendcircuit(control_connection_t *conn,
circ->first_hop_from_controller = 1;
}
+ circ->any_hop_from_controller = 1;
+
/* now circ refers to something that is ready to be extended */
first_node = zero_circ;
SMARTLIST_FOREACH(nodes, const node_t *, node,