mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-02 04:49:34 -05:00
- Fix #431: Squelch permission denied errors for tcp connect
This commit is contained in:
parent
aa53b933cc
commit
40fbc3fa8a
3 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
22 February 2021: Wouter
|
||||
- Fix #431: Squelch permission denied errors for tcp connect
|
||||
and udp connect from the logs, unless at high verbosity.
|
||||
|
||||
18 February 2021: Wouter
|
||||
- Merge PR #317: ZONEMD Zone Verification, with RFC 8976 support.
|
||||
ZONEMD records are checked for zones loaded as auth-zone,
|
||||
|
|
|
|||
|
|
@ -1779,6 +1779,7 @@ static int udp_connect_needs_log(int err)
|
|||
# ifdef ENETDOWN
|
||||
case ENETDOWN:
|
||||
# endif
|
||||
case EPERM:
|
||||
if(verbosity >= VERB_ALGO)
|
||||
return 1;
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -302,7 +302,7 @@ udp_send_errno_needs_log(struct sockaddr* addr, socklen_t addrlen)
|
|||
/* 'Cannot assign requested address' also when disconnected */
|
||||
|| (errno == EADDRNOTAVAIL)
|
||||
# endif
|
||||
) && verbosity < VERB_DETAIL)
|
||||
) && verbosity < VERB_ALGO)
|
||||
return 0;
|
||||
# ifdef EADDRINUSE
|
||||
/* If SO_REUSEADDR is set, we could try to connect to the same server
|
||||
|
|
|
|||
Loading…
Reference in a new issue