Browse Source

publish a new descriptor after we hup. this is important if our
config has changed such that we'll want to start advertising our
dirport now, etc.


svn:r6819

Roger Dingledine 19 years ago
parent
commit
c9b8458f59
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/or/main.c

+ 1 - 0
src/or/main.c

@@ -1070,6 +1070,7 @@ do_hup(void)
 
 
   if (server_mode(options)) {
   if (server_mode(options)) {
 //    const char *descriptor;
 //    const char *descriptor;
+    mark_my_descriptor_dirty();
     /* Restart cpuworker and dnsworker processes, so they get up-to-date
     /* Restart cpuworker and dnsworker processes, so they get up-to-date
      * configuration options. */
      * configuration options. */
     cpuworkers_rotate();
     cpuworkers_rotate();