diff options
author | Roger Dingledine <arma@torproject.org> | 2005-02-28 09:39:12 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-02-28 09:39:12 +0000 |
commit | b961d1c3bdbafbdaeb70dd2f4a43f0dd2ea829ed (patch) | |
tree | 6a2b49b91bad6346b78a47ae3cd8233c2b3173de /src | |
parent | c5091e71340734be227dbb8eb1c5f70783c57e21 (diff) | |
download | tor-b961d1c3bdbafbdaeb70dd2f4a43f0dd2ea829ed.tar.gz tor-b961d1c3bdbafbdaeb70dd2f4a43f0dd2ea829ed.zip |
disable the reachability detection stuff in cvs, so people can
run servers from cvs while i'm gone.
svn:r3712
Diffstat (limited to 'src')
-rw-r--r-- | src/or/router.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/router.c b/src/or/router.c index de45b309f6..e67829ca6b 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -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(); } |