diff options
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 3 |
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); |