aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-04-01 09:28:14 +0000
committerRoger Dingledine <arma@torproject.org>2005-04-01 09:28:14 +0000
commit453a8224252b161e1b4c8d82af0cb0e0d346bcc8 (patch)
tree9e88b208c5fc36b72547776bec0c25743489a77d
parent1ff62dbd18305ecfc43b0e802e6f2c0349a7884e (diff)
downloadtor-453a8224252b161e1b4c8d82af0cb0e0d346bcc8.tar
tor-453a8224252b161e1b4c8d82af0cb0e0d346bcc8.tar.gz
when you decide you're reachable, actually publish your descriptor
right then. svn:r3968
-rw-r--r--src/or/router.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 3ab1ddbd9..b30808a96 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -416,6 +416,7 @@ void router_orport_found_reachable(void) {
if (!clique_mode(get_options()))
log_fn(LOG_NOTICE,"Your ORPort is reachable from the outside. Excellent. Publishing server descriptor.");
can_reach_or_port = 1;
+ consider_publishable_server(time(NULL), 1);
}
}