summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 1b097160f0..4381c70afe 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -105,7 +105,7 @@ static config_var_t config_vars[] = {
VAR("ExitPolicy", LINELIST, ExitPolicy, NULL),
VAR("ExcludeNodes", STRING, ExcludeNodes, NULL),
VAR("FascistFirewall", BOOL, FascistFirewall, "0"),
- VAR("FirewallPorts", CSV, FirewallPorts, NULL),
+ VAR("FirewallPorts", CSV, FirewallPorts, "80,443"),
VAR("MyFamily", STRING, MyFamily, NULL),
VAR("NodeFamily", LINELIST, NodeFamilies, NULL),
VAR("Group", STRING, Group, NULL),
@@ -831,17 +831,6 @@ static int check_nickname_list(const char *lst, const char *name)
return r;
}
-smartlist_t *config_get_default_firewallports(void) {
- static smartlist_t *answer;
-
- if(!answer) {
- answer = smartlist_create();
- smartlist_add(answer, tor_strdup("80"));
- smartlist_add(answer, tor_strdup("443"));
- }
- return answer;
-}
-
static int
validate_options(or_options_t *options)
{