not connected, to avoid spamming syslog.
git-svn-id: file:///svn/unbound/trunk@2915
be551aaa-1e26-0410-a405-
d3ace91eadb9
+25 Jun 2013: Wouter
+ - Squelch sendto-permission denied errors when the network is
+ not connected, to avoid spamming syslog.
+
18 Jun 2013: Wouter
- Fix for const string literals in C++ for libunbound, from Karel
Slany.
break;
}
#endif
+ /* permission denied is gotten for every send if the
+ * network is disconnected (on some OS), squelch it */
+ if(errno == EPERM && verbosity < VERB_DETAIL)
+ return 0;
/* squelch errors where people deploy AAAA ::ffff:bla for
* authority servers, which we try for intranets. */
if(errno == EINVAL && addr_is_ip4mapped(