mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 22:57:08 +00:00
silence host is down error, which the resolver operator cannot do anything
about. Verbosity 2 shows it for debugging of course. git-svn-id: file:///svn/unbound/trunk@1349 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
e9d742c16d
commit
d0eb5cad47
@ -3,6 +3,7 @@
|
||||
- added configure check for ldns 1.4.0 (using its compat funcs).
|
||||
- neater comments in worker.h.
|
||||
- removed doc/plan and updated doc/TODO.
|
||||
- silenced EHOSTDOWN (verbosity 2 or higher to see it).
|
||||
|
||||
12 November 2008: Wouter
|
||||
- add unbound-control manpage to makedist replace list.
|
||||
|
@ -800,6 +800,10 @@ comm_point_tcp_handle_write(int fd, struct comm_point* c)
|
||||
#ifdef EHOSTUNREACH
|
||||
else if(error == EHOSTUNREACH && verbosity < 2)
|
||||
return 0; /* silence 'no route to host' */
|
||||
#endif
|
||||
#ifdef EHOSTDOWN
|
||||
else if(error == EHOSTDOWN && verbosity < 2)
|
||||
return 0; /* silence 'host is down' */
|
||||
#endif
|
||||
else if(error != 0) {
|
||||
log_err("tcp connect: %s", strerror(error));
|
||||
|
Loading…
Reference in New Issue
Block a user