commit 52c68b80de963d41cfcecf071c6434b140effde3
parent 77021a0f157a58dd77b9ff903ff22a2a4aa9fac3
Author: David Goulet <dgoulet@torproject.org>
Date: Mon, 24 Mar 2025 09:09:38 -0400
dirauth: Fix typo in flag relay assignment token
Unfortunately, we wanted to be able to control the Guard flag here but the
token used mentionned "exit" instead.
Oh well, s*** happens :).
Fixes #41035
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/changes/ticket41035 b/changes/ticket41035
@@ -0,0 +1,3 @@
+ o Minor bugfix (dirauth):
+ - Fix typo in flag assignment approved-routers file. Fixes bug 41035; bugfix
+ on 0.4.8.15
diff --git a/src/feature/dirauth/process_descs.c b/src/feature/dirauth/process_descs.c
@@ -228,7 +228,7 @@ dirserv_load_fingerprint_file(void)
add_status = RTR_INVALID;
} else if (!strcasecmp(nickname, "!middleonly")) {
add_status = RTR_MIDDLEONLY;
- } else if (!strcasecmp(nickname, "!stripexit")) {
+ } else if (!strcasecmp(nickname, "!stripguard")) {
add_status = RTR_STRIPGUARD;
} else if (!strcasecmp(nickname, "!striphsdir")) {
add_status = RTR_STRIPHSDIR;