summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index d6422d0b54..9627b271b8 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -299,7 +299,7 @@ void circuit_build_needed_circs(time_t now) {
if(time_to_new_circuit < now) {
circuit_reset_failure_count();
time_to_new_circuit = now + options.NewCircuitPeriod;
- if(options.SocksPort)
+ if(proxy_mode())
client_dns_clean();
circuit_expire_old_circuits();