use debug_info for SO_REUSEPORT errors

This commit is contained in:
Richard Aas 2016-04-27 06:09:00 +00:00
parent ae0ec21ea0
commit 05c9422f2d

View file

@ -98,7 +98,7 @@ int net_sockopt_reuse_set(int fd, bool reuse)
#ifdef SO_REUSEPORT
if (-1 == setsockopt(fd, SOL_SOCKET, SO_REUSEPORT,
BUF_CAST &r, sizeof(r))) {
DEBUG_WARNING("SO_REUSEPORT: %m\n", errno);
DEBUG_INFO("SO_REUSEPORT: %m\n", errno);
return errno;
}
#endif