[or-cvs] when we find our dirport to be reachable, mark our descriptor

arma at seul.org arma at seul.org
Tue Jul 18 03:06:57 UTC 2006


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:
when we find our dirport to be reachable, mark our descriptor
dirty so we'll tell the world. (fixes bug 306 reported by pnx)


Index: router.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.275
retrieving revision 1.276
diff -u -p -d -r1.275 -r1.276
--- router.c	18 Jul 2006 03:06:12 -0000	1.275
+++ router.c	18 Jul 2006 03:06:55 -0000	1.276
@@ -479,6 +479,7 @@ router_dirport_found_reachable(void)
     log_notice(LD_DIRSERV,"Self-testing indicates your DirPort is reachable "
                "from the outside. Excellent.");
     can_reach_dir_port = 1;
+    mark_my_descriptor_dirty();
   }
 }
 



More information about the tor-commits mailing list