diff options
author | Roger Dingledine <arma@torproject.org> | 2003-09-26 22:02:02 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-09-26 22:02:02 +0000 |
commit | ab8bceb27acbf8b88480ac11b21e8ab7429c6d40 (patch) | |
tree | 437d6deb54a805af6231b7d518dd8899b4b4730c /src | |
parent | d8f646c44fe9a6a5999fbb7890f2822428c3dc43 (diff) | |
download | tor-ab8bceb27acbf8b88480ac11b21e8ab7429c6d40.tar tor-ab8bceb27acbf8b88480ac11b21e8ab7429c6d40.tar.gz |
dirservers upload their descs now too
svn:r493
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index ee6cd149a..662358c8e 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -586,8 +586,7 @@ static int do_main_loop(void) { if(options.OnionRouter) { cpu_init(); /* launch cpuworkers. Need to do this *after* we've read the onion key. */ - if(options.DirPort == 0) /* not a dirserver; XXX eventually do this for dirservers too */ - router_upload_desc_to_dirservers(); /* upload our descriptor to all dirservers */ + router_upload_desc_to_dirservers(); /* upload our descriptor to all dirservers */ } /* start up the necessary connections based on which ports are |