summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-04-25 13:44:06 -0400
committerNick Mathewson <nickm@torproject.org>2017-05-09 10:30:52 -0400
commitd52a1e2faaf0edf8f5899c6fa9864d0cecebf692 (patch)
treee72f5f89e9017f1c62acc9890c645450db306536 /src/or/or.h
parentfea72571dfc70ec766edaaea2dc80c1e759a977d (diff)
downloadtor-d52a1e2faaf0edf8f5899c6fa9864d0cecebf692.tar.gz
tor-d52a1e2faaf0edf8f5899c6fa9864d0cecebf692.zip
config: Remove AllowSingleHopExits option
Deprecated in 0.2.9.2-alpha, this commits changes it as OBSOLETE() and cleans up the code associated with it. Partially fixes #22060 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 4381459519..3670078c47 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4114,10 +4114,7 @@ typedef struct {
* if we are a cache). For authorities, this is always true. */
int DownloadExtraInfo;
- /** If true, and we are acting as a relay, allow exit circuits even when
- * we are the first hop of a circuit. */
- int AllowSingleHopExits;
- /** If true, don't allow relays with AllowSingleHopExits=1 to be used in
+ /** If true, don't allow relays with allow-single-hop-exits to be used in
* circuits that we build. */
int ExcludeSingleHopRelays;