mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
disable the reachability detection stuff in cvs, so people can
run servers from cvs while i'm gone. svn:r3712
This commit is contained in:
parent
c5091e7134
commit
b961d1c3bd
@ -374,9 +374,9 @@ int init_keys(void) {
|
||||
*/
|
||||
|
||||
/** Whether we can reach our ORPort from the outside. */
|
||||
static int can_reach_or_port = 0;
|
||||
static int can_reach_or_port = 1;
|
||||
/** Whether we can reach our DirPort from the outside. */
|
||||
static int can_reach_dir_port = 0;
|
||||
static int can_reach_dir_port = 1;
|
||||
|
||||
void consider_testing_reachability(void) {
|
||||
routerinfo_t *me = router_get_my_routerinfo();
|
||||
@ -407,8 +407,8 @@ void router_dirport_found_reachable(void) {
|
||||
/** Our router has just moved to a new IP. Reset stats. */
|
||||
void server_has_changed_ip(void) {
|
||||
stats_n_seconds_working = 0;
|
||||
can_reach_or_port = 0;
|
||||
can_reach_dir_port = 0;
|
||||
// can_reach_or_port = 0;
|
||||
// can_reach_dir_port = 0;
|
||||
mark_my_descriptor_dirty();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user