aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-11-04 23:39:57 +0000
committerRoger Dingledine <arma@torproject.org>2004-11-04 23:39:57 +0000
commit2ba3a9de168f87912b296e37a6b03bab45a102fe (patch)
tree3a48184a5367b16ae414ca801001c14794f2e9fd /src/or/circuitbuild.c
parent311695e279ec8f56ce255cf5e6ea175e11fa9ced (diff)
downloadtor-2ba3a9de168f87912b296e37a6b03bab45a102fe.tar
tor-2ba3a9de168f87912b296e37a6b03bab45a102fe.tar.gz
make the default default options.FirewallPorts be the default
svn:r2683
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index b108b1e99..f81e835c2 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1144,8 +1144,7 @@ static routerinfo_t *choose_good_entry_server(cpath_build_state_t *state)
for(i=0; i < smartlist_len(rl->routers); i++) {
r = smartlist_get(rl->routers, i);
tor_snprintf(buf, sizeof(buf), "%d", r->or_port);
- if (!smartlist_string_isin(options.FirewallPorts ?
- options.FirewallPorts : config_get_default_firewallports(), buf))
+ if (!smartlist_string_isin(options.FirewallPorts, buf))
smartlist_add(excluded, r);
}
}