diff options
author | Roger Dingledine <arma@torproject.org> | 2005-09-03 23:10:28 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-09-03 23:10:28 +0000 |
commit | d2a5b614ebc0fc93264a1c774e27cb9820742738 (patch) | |
tree | 6b49077535408dcc87a060ac78f0b9ba9a398d25 /src | |
parent | b6a13b6cdf02bd017c887eb8b7224b5e967e1bb6 (diff) | |
download | tor-d2a5b614ebc0fc93264a1c774e27cb9820742738.tar.gz tor-d2a5b614ebc0fc93264a1c774e27cb9820742738.zip |
if you're an auth dir server, start yourself out as verified.
svn:r4907
Diffstat (limited to 'src')
-rw-r--r-- | src/or/router.c | 2 |
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, ",", |