From 88559aca2d9487a9b101bb563b1ddf857a013962 Mon Sep 17 00:00:00 2001 From: Neel Chauhan Date: Fri, 12 Feb 2021 15:43:48 -0800 Subject: Make dirauths vote the Sybil flag when other flags are zeroed out --- src/feature/nodelist/fmt_routerstatus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/feature/nodelist/fmt_routerstatus.c') diff --git a/src/feature/nodelist/fmt_routerstatus.c b/src/feature/nodelist/fmt_routerstatus.c index 252b2e61fe..5c1e9309b9 100644 --- a/src/feature/nodelist/fmt_routerstatus.c +++ b/src/feature/nodelist/fmt_routerstatus.c @@ -87,7 +87,7 @@ routerstatus_format_entry(const routerstatus_t *rs, const char *version, goto done; smartlist_add_asprintf(chunks, - "s%s%s%s%s%s%s%s%s%s%s%s\n", + "s%s%s%s%s%s%s%s%s%s%s%s%s\n", /* These must stay in alphabetical order. */ rs->is_authority?" Authority":"", rs->is_bad_exit?" BadExit":"", @@ -98,6 +98,7 @@ routerstatus_format_entry(const routerstatus_t *rs, const char *version, rs->is_flagged_running?" Running":"", rs->is_stable?" Stable":"", rs->is_staledesc?" StaleDesc":"", + rs->is_sybil?" Sybil":"", rs->is_v2_dir?" V2Dir":"", rs->is_valid?" Valid":""); -- cgit v1.2.3-54-g00ecf