From: David Goulet Date: Mon, 24 Mar 2025 13:09:38 +0000 (-0400) Subject: dirauth: Fix typo in flag relay assignment token X-Git-Tag: tor-0.4.8.16~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52c68b80de963d41cfcecf071c6434b140effde3;p=thirdparty%2Ftor.git 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 --- diff --git a/changes/ticket41035 b/changes/ticket41035 new file mode 100644 index 0000000000..cc70271231 --- /dev/null +++ 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 index 96cbaa8680..c38b8ea813 100644 --- 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;