Add hostname to lookup error message
This should help detect what is the hostname that causes the problem.
This commit is contained in:
parent
ec1a37000b
commit
2008d08cfc
@ -700,8 +700,8 @@ static bool get_hostname(DCB *dcb, char *client_hostname, size_t size)
|
|||||||
|
|
||||||
if (lookup_result != 0)
|
if (lookup_result != 0)
|
||||||
{
|
{
|
||||||
MXS_ERROR("Client hostname lookup failed, getnameinfo() returned: '%s'.",
|
MXS_ERROR("Client hostname lookup failed for '%s', getnameinfo() returned: '%s'.",
|
||||||
gai_strerror(lookup_result));
|
dcb->remote, gai_strerror(lookup_result));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user