summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/router.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 43794dfe45..c360b7fba7 100644
--- a/src/or/router.c
+++ b/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, ",",