[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #26168 [Core Tor/Tor]: Rename HSDir consensus flag to OnionDir
#26168: Rename HSDir consensus flag to OnionDir
--------------------------+------------------------
Reporter: arma | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------
Comment (by arma):
Here is I think the patch we want for step 1. (patch on maint-0.2.9 so it
will last the longest)
{{{
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 521e237..f72e995 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -2948,6 +2948,8 @@ routerstatus_parse_entry_from_string(memarea_t
*area,
rs->is_unnamed = 1;
} else if (!strcmp(tok->args[i], "HSDir")) {
rs->is_hs_dir = 1;
+ } else if (!strcmp(tok->args[i], "OnionDir")) {
+ rs->is_hs_dir = 1;
} else if (!strcmp(tok->args[i], "V2Dir")) {
rs->is_v2_dir = 1;
}
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26168#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs