From 9409c7f2f52f192eaf497c56daa485d75358de65 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 8 Mar 2021 13:41:20 -0500 Subject: Don't warn about missing guard state if controller picked first hop See comments about why this needs a new flag and we can't just use CIRCUIT_PURPOSE_CONTROLLER. Fixes #40285; bugfix on 0.3.2.1-alpha. --- src/feature/control/control_cmd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/feature') diff --git a/src/feature/control/control_cmd.c b/src/feature/control/control_cmd.c index 5b75c24692..0456d709f5 100644 --- a/src/feature/control/control_cmd.c +++ b/src/feature/control/control_cmd.c @@ -819,6 +819,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 */ -- cgit v1.2.3-54-g00ecf