summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-08-28 03:15:55 +0000
committerNick Mathewson <nickm@torproject.org>2006-08-28 03:15:55 +0000
commit54ca0387a59499f516dae689a34807dad6410b3d (patch)
treea234614bf9f15e037ca0e3e3b20cf6da0c6efcbd /src/or/main.c
parentbe7054c6265f19134edc6cfef482b13e86e59cb5 (diff)
downloadtor-54ca0387a59499f516dae689a34807dad6410b3d.tar.gz
tor-54ca0387a59499f516dae689a34807dad6410b3d.zip
r8608@Kushana: nickm | 2006-08-27 16:57:47 -0400
Make it possible to change nameserver options while Tor is running. svn:r8255
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 80645779e9..b54417e422 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1081,7 +1081,7 @@ do_hup(void)
/* Restart cpuworker and dnsworker processes, so they get up-to-date
* configuration options. */
cpuworkers_rotate();
- dnsworkers_rotate();
+ dns_reset();
#if 0
/* Write out a fresh descriptor, but leave old one on failure. */
router_rebuild_descriptor(1);