Browse Source

if you're an auth dir server, start yourself out as verified.

svn:r4907
Roger Dingledine 20 years ago
parent
commit
d2a5b614eb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/or/router.c

+ 2 - 0
src/or/router.c

@@ -769,6 +769,8 @@ router_rebuild_descriptor(int force)
 
   if (desc_routerinfo) /* inherit values */
     ri->is_verified = desc_routerinfo->is_verified;
+  if (authdir_mode(options))
+    ri->is_verified = 1; /* believe in yourself */
   if (options->MyFamily) {
     ri->declared_family = smartlist_create();
     smartlist_split_string(ri->declared_family, options->MyFamily, ",",