[or-cvs] if you"re an auth dir server, start yourself out as verified.
arma at seul.org
arma at seul.org
Sat Sep 3 23:10:31 UTC 2005
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
router.c
Log Message:
if you're an auth dir server, start yourself out as verified.
Index: router.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.200
retrieving revision 1.201
diff -u -d -r1.200 -r1.201
--- router.c 31 Aug 2005 06:14:37 -0000 1.200
+++ router.c 3 Sep 2005 23:10:28 -0000 1.201
@@ -769,6 +769,8 @@
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, ",",
More information about the tor-commits
mailing list