Instead of "Network down", say "Is your network connection down?"

svn:r5607
This commit is contained in:
Nick Mathewson 2005-12-15 22:10:03 +00:00
parent 0f013a6502
commit 6b5fc9d46f
2 changed files with 4 additions and 2 deletions

View File

@ -513,7 +513,8 @@ directory_all_unreachable(time_t now)
while ((conn = connection_get_by_type_state(CONN_TYPE_AP,
AP_CONN_STATE_CIRCUIT_WAIT))) {
notice(LD_NET,"Network down? Failing connection to '%s:%d'.",
notice(LD_NET,
"Is your network connection down? Failing connection to '%s:%d'.",
safe_str(conn->socks_request->address), conn->socks_request->port);
connection_mark_unattached_ap(conn, END_STREAM_REASON_NET_UNREACHABLE);
}

View File

@ -3343,7 +3343,8 @@ router_have_minimum_dir_info(void)
if (!res && have_enough) {
log(LOG_NOTICE, LD_DIR,"Our directory information is no longer up-to-date "
"enough to build circuits.%s",
any_running ? "" : " (All servers seem down -- network down?)");
any_running ? "" :
" (No servers seem reachable -- is your network connection down?)");
}
have_enough = res;
return res;