Browse Source

change log entry for unreachability to explicitly suggest /etc/hosts
as the culprit


svn:r4807

Roger Dingledine 20 years ago
parent
commit
d928411acd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/or/main.c

+ 2 - 2
src/or/main.c

@@ -857,10 +857,10 @@ second_elapsed_callback(int fd, short event, void *args)
     /* every 20 minutes, check and complain if necessary */
     routerinfo_t *me = router_get_my_routerinfo();
     if (!check_whether_orport_reachable())
-      log(LOG_WARN,"Your server (%s:%d) has not managed to confirm that its ORPort is reachable. Please check your firewalls, ports, address, etc.",
+      log(LOG_WARN,"Your server (%s:%d) has not managed to confirm that its ORPort is reachable. Please check your firewalls, ports, address, /etc/hosts file, etc.",
           me ? me->address : options->Address, options->ORPort);
     if (!check_whether_dirport_reachable())
-      log(LOG_WARN,"Your server (%s:%d) has not managed to confirm that its DirPort is reachable. Please check your firewalls, ports, address, etc.",
+      log(LOG_WARN,"Your server (%s:%d) has not managed to confirm that its DirPort is reachable. Please check your firewalls, ports, address, /etc/hosts file, etc.",
           me ? me->address : options->Address, options->DirPort);
   }