aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-13 13:09:27 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-13 13:09:27 -0500
commit55d02c004c9b36258ef64ccb2def4ddcb0fb04c5 (patch)
treebea95d5ea3fef665ba39bb80826d2e8e77ab8cd7 /src/or/or.h
parent56b11905e509297e3db55f62afd14afb6e6ae2eb (diff)
downloadtor-55d02c004c9b36258ef64ccb2def4ddcb0fb04c5.tar.gz
tor-55d02c004c9b36258ef64ccb2def4ddcb0fb04c5.zip
Remove AuthDirMaxServersPerAuthAddr
Back when Roger had do do most of our testing on the moria host, we needed a higher limit for the number of relays running on a single IP address when that limit was shared with an authority. Nowadays, the idea is pretty obsolete. Also remove the router_addr_is_trusted_dir() function, which served no other purpose. Closes ticket 20960.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 0e508e958c..cfbd7b5c75 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3969,9 +3969,6 @@ typedef struct {
* and vote for all other exits as good. */
int AuthDirMaxServersPerAddr; /**< Do not permit more than this
* number of servers per IP address. */
- int AuthDirMaxServersPerAuthAddr; /**< Do not permit more than this
- * number of servers per IP address shared
- * with an authority. */
int AuthDirHasIPv6Connectivity; /**< Boolean: are we on IPv6? */
int AuthDirPinKeys; /**< Boolean: Do we enforce key-pinning? */