Explorar o código

If we are a directory, we should trust ourself.

svn:r1943
Nick Mathewson %!s(int64=21) %!d(string=hai) anos
pai
achega
66881d5709
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/or/router.c

+ 2 - 0
src/or/router.c

@@ -433,6 +433,8 @@ int router_rebuild_descriptor(void) {
     log_fn(LOG_WARN, "Couldn't dump router to string.");
     return -1;
   }
+  if (ri->dir_port)
+    ri->is_trusted_dir = 1;
   return 0;
 }