|
@@ -405,7 +405,7 @@ void consider_testing_reachability(void) {
|
|
|
if (me) {
|
|
if (me) {
|
|
|
directory_initiate_command_router(me, DIR_PURPOSE_FETCH_DIR, 1, NULL, NULL, 0);
|
|
directory_initiate_command_router(me, DIR_PURPOSE_FETCH_DIR, 1, NULL, NULL, 0);
|
|
|
} else {
|
|
} else {
|
|
|
- log_fn(LOG_NOTICE,"Delaying checking DirPort reachability; can't build descriptor.");
|
|
|
|
|
|
|
+ log(LOG_NOTICE,"Delaying checking DirPort reachability; can't build descriptor.");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -414,7 +414,7 @@ void consider_testing_reachability(void) {
|
|
|
void router_orport_found_reachable(void) {
|
|
void router_orport_found_reachable(void) {
|
|
|
if (!can_reach_or_port) {
|
|
if (!can_reach_or_port) {
|
|
|
if (!clique_mode(get_options()))
|
|
if (!clique_mode(get_options()))
|
|
|
- log_fn(LOG_NOTICE,"Your ORPort is reachable from the outside. Excellent. Publishing server descriptor.");
|
|
|
|
|
|
|
+ log(LOG_NOTICE,"Your ORPort is reachable from the outside. Excellent. Publishing server descriptor.");
|
|
|
can_reach_or_port = 1;
|
|
can_reach_or_port = 1;
|
|
|
consider_publishable_server(time(NULL), 1);
|
|
consider_publishable_server(time(NULL), 1);
|
|
|
}
|
|
}
|
|
@@ -423,7 +423,7 @@ void router_orport_found_reachable(void) {
|
|
|
/** Annotate that we found our DirPort reachable. */
|
|
/** Annotate that we found our DirPort reachable. */
|
|
|
void router_dirport_found_reachable(void) {
|
|
void router_dirport_found_reachable(void) {
|
|
|
if (!can_reach_dir_port) {
|
|
if (!can_reach_dir_port) {
|
|
|
- log_fn(LOG_NOTICE,"Your DirPort is reachable from the outside. Excellent.");
|
|
|
|
|
|
|
+ log(LOG_NOTICE,"Your DirPort is reachable from the outside. Excellent.");
|
|
|
can_reach_dir_port = 1;
|
|
can_reach_dir_port = 1;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|