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

svn:r4907
This commit is contained in:
Roger Dingledine 2005-09-03 23:10:28 +00:00
parent b6a13b6cdf
commit d2a5b614eb

View File

@ -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, ",",