From dd085d42f96e39f9387aa1d7a306100c0d7df305 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 15 Nov 2021 08:55:47 -0500 Subject: Do not count controller-selected paths towards path bias. As a side effect, this fixes a "Bug" warning. Closes #40515. Bugfix on 0.2.4.10-alpha. --- src/feature/control/control_cmd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/feature/control') diff --git a/src/feature/control/control_cmd.c b/src/feature/control/control_cmd.c index b4d7228b51..a1c5e55fe1 100644 --- a/src/feature/control/control_cmd.c +++ b/src/feature/control/control_cmd.c @@ -822,6 +822,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, -- cgit v1.2.3-54-g00ecf