aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.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/directory.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/directory.c')
-rw-r--r--src/or/directory.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 1ff80b811..998e3539b 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -132,8 +132,7 @@ directory_post_to_dirservers(uint8_t purpose, const char *payload,
if (options.FascistFirewall && purpose == DIR_PURPOSE_UPLOAD_DIR &&
!options.HttpProxy) {
tor_snprintf(buf,sizeof(buf),"%d",ds->dir_port);
- if (!smartlist_string_isin(options.FirewallPorts ?
- options.FirewallPorts : config_get_default_firewallports(), buf))
+ if (!smartlist_string_isin(options.FirewallPorts, buf))
continue;
}
directory_initiate_command_trusted_dir(ds, purpose, payload, payload_len);