|
@@ -818,11 +818,11 @@ static void 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_fn(LOG_WARN,"Your server (%s:%d) has not managed to confirm that its ORPort is reachable. Please check your firewalls, ports, address, etc.",
|
|
|
- me ? me->address : options->Address, options->ORPort);
|
|
|
+ log(LOG_WARN,"Your server (%s:%d) has not managed to confirm that its ORPort is reachable. Please check your firewalls, ports, address, etc.",
|
|
|
+ me ? me->address : options->Address, options->ORPort);
|
|
|
if (!check_whether_dirport_reachable())
|
|
|
- log_fn(LOG_WARN,"Your server (%s:%d) has not managed to confirm that its DirPort is reachable. Please check your firewalls, ports, address, etc.",
|
|
|
- me ? me->address : options->Address, options->DirPort);
|
|
|
+ log(LOG_WARN,"Your server (%s:%d) has not managed to confirm that its DirPort is reachable. Please check your firewalls, ports, address, etc.",
|
|
|
+ me ? me->address : options->Address, options->DirPort);
|
|
|
}
|
|
|
|
|
|
/* if more than 100s have elapsed, probably the clock jumped: doesn't count. */
|