- 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:
W.C.A. Wijngaards 2021-08-13 09:27:58 +02:00
parent de31bcdf2e
commit ad45e9b89e
3 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,7 @@
13 August 2021: Wouter
- 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
- Merge PR #514, from ziollek: Docker environment for run tests.

View file

@ -1962,6 +1962,7 @@ static int udp_connect_needs_log(int err)
case ENETDOWN:
# endif
case EPERM:
case EACCES:
if(verbosity >= VERB_ALGO)
return 1;
return 0;

View file

@ -300,6 +300,7 @@ udp_send_errno_needs_log(struct sockaddr* addr, socklen_t addrlen)
case ENETDOWN:
# endif
case EPERM:
case EACCES:
if(verbosity < VERB_ALGO)
return 0;
default: