]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
dirauth: Fix typo in flag relay assignment token
authorDavid Goulet <dgoulet@torproject.org>
Mon, 24 Mar 2025 13:09:38 +0000 (09:09 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Mon, 24 Mar 2025 13:20:12 +0000 (09:20 -0400)
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>
changes/ticket41035 [new file with mode: 0644]
src/feature/dirauth/process_descs.c

diff --git a/changes/ticket41035 b/changes/ticket41035
new file mode 100644 (file)
index 0000000..cc70271
--- /dev/null
@@ -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
index 96cbaa8680c652307fea0b2c7298cbdc088b8999..c38b8ea8132e28fc13100bd4a9d7c07376648a5d 100644 (file)
@@ -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;