mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix for #431: Squelch permission denied errors for udp connect,
and udp send, they are visible at higher verbosity settings.
This commit is contained in:
parent
de31bcdf2e
commit
ad45e9b89e
3 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
13 August 2021: Wouter
|
13 August 2021: Wouter
|
||||||
- Support using system-wide crypto policies.
|
- Support using system-wide crypto policies.
|
||||||
|
- Fix for #431: Squelch permission denied errors for udp connect,
|
||||||
|
and udp send, they are visible at higher verbosity settings.
|
||||||
|
|
||||||
12 August 2021: George
|
12 August 2021: George
|
||||||
- Merge PR #514, from ziollek: Docker environment for run tests.
|
- Merge PR #514, from ziollek: Docker environment for run tests.
|
||||||
|
|
|
||||||
|
|
@ -1962,6 +1962,7 @@ static int udp_connect_needs_log(int err)
|
||||||
case ENETDOWN:
|
case ENETDOWN:
|
||||||
# endif
|
# endif
|
||||||
case EPERM:
|
case EPERM:
|
||||||
|
case EACCES:
|
||||||
if(verbosity >= VERB_ALGO)
|
if(verbosity >= VERB_ALGO)
|
||||||
return 1;
|
return 1;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
|
|
@ -300,6 +300,7 @@ udp_send_errno_needs_log(struct sockaddr* addr, socklen_t addrlen)
|
||||||
case ENETDOWN:
|
case ENETDOWN:
|
||||||
# endif
|
# endif
|
||||||
case EPERM:
|
case EPERM:
|
||||||
|
case EACCES:
|
||||||
if(verbosity < VERB_ALGO)
|
if(verbosity < VERB_ALGO)
|
||||||
return 0;
|
return 0;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue