+16 January 2009: Wouter
+ - more quiet about ipv6 network failures, i.e. when ipv6 is not
+ available (network unreachable). Debug still printed on high
+ verbosity.
+
15 January 2009: Wouter
- bug #229: fixup configure checks for compilation with Solaris
Sun cc compiler, ./configure CC=/opt/SUNWspro/bin/cc
iq->chase_flags | (iq->chase_to_rd?BIT_RD:0), EDNS_DO|BIT_CD,
&target->addr, target->addrlen, qstate);
if(!outq) {
- verbose(VERB_OPS, "error sending query to auth server; "
- "skip this address");
- log_addr(VERB_OPS, "error for address:",
+ log_addr(VERB_DETAIL, "error sending query to auth server",
&target->addr, target->addrlen);
return next_state(iq, QUERYTARGETS_STATE);
}
log_assert(c->fd != -1);
#ifdef UNBOUND_DEBUG
if(ldns_buffer_remaining(packet) == 0)
- log_err("internal error: send empty UDP packet");
+ log_err("error: send empty UDP packet");
#endif
log_assert(addr && addrlen > 0);
sent = sendto(c->fd, ldns_buffer_begin(packet),
ldns_buffer_remaining(packet), 0,
addr, addrlen);
if(sent == -1) {
+#ifdef ENETUNREACH
+ if(errno == ENETUNREACH && verbosity < VERB_ALGO)
+ return 0;
+#endif
#ifndef USE_WINSOCK
verbose(VERB_OPS, "sendto failed: %s", strerror(errno));
#else