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>
This commit is contained in:
David Goulet 2025-03-24 09:09:38 -04:00
parent 77021a0f15
commit 52c68b80de
2 changed files with 4 additions and 1 deletions

3
changes/ticket41035 Normal file
View file

@ -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

View 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;