improve debug output in ProcessSSDPRequest()

see #655
This commit is contained in:
Thomas Bernard 2023-05-11 01:19:22 +02:00
parent 836fba4684
commit 214deacb11
No known key found for this signature in database
GPG Key ID: DB511043A31ACAAF
1 changed files with 4 additions and 0 deletions

View File

@ -914,7 +914,11 @@ ProcessSSDPRequest(int s, unsigned short http_port)
errno != EWOULDBLOCK &&
errno != EINTR)
{
#if defined(IP_RECVIF) || defined(IP_PKTINFO)
syslog(LOG_ERR, "recvmsg(udp): %m");
#else
syslog(LOG_ERR, "recvfrom(udp): %m");
#endif
}
return;
}