summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2014-07-24 16:23:26 -0400
committerRoger Dingledine <arma@torproject.org>2014-07-24 16:23:26 -0400
commitbc9866e13ff140b237b0560a784bb72bff67a8e3 (patch)
tree962abd71251435b1174b8a33ab7fe532fffe9fa0 /src/or/config.c
parentdfe80c966d5136bc4f3287f4f762384ecc4df0c5 (diff)
parenta4c641cce91acb673f81db2b6093fde425039eaf (diff)
downloadtor-bc9866e13ff140b237b0560a784bb72bff67a8e3.tar.gz
tor-bc9866e13ff140b237b0560a784bb72bff67a8e3.zip
Merge branch 'maint-0.2.5'
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 310cef8e2e..6718f895a8 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -326,7 +326,7 @@ static config_var_t option_vars_[] = {
VAR("NodeFamily", LINELIST, NodeFamilies, NULL),
V(NumCPUs, UINT, "0"),
V(NumDirectoryGuards, UINT, "0"),
- V(NumEntryGuards, UINT, "3"),
+ V(NumEntryGuards, UINT, "0"),
V(ORListenAddress, LINELIST, NULL),
VPORT(ORPort, LINELIST, NULL),
V(OutboundBindAddress, LINELIST, NULL),
@@ -3255,9 +3255,6 @@ options_validate(or_options_t *old_options, or_options_t *options,
"have it group-readable.");
}
- if (options->UseEntryGuards && ! options->NumEntryGuards)
- REJECT("Cannot enable UseEntryGuards with NumEntryGuards set to 0");
-
if (options->MyFamily && options->BridgeRelay) {
log_warn(LD_CONFIG, "Listing a family for a bridge relay is not "
"supported: it can reveal bridge fingerprints to censors. "