Merge branch '2.1' into develop

This commit is contained in:
Markus Mäkelä
2017-03-09 10:02:36 +02:00
19 changed files with 210 additions and 42 deletions

View File

@ -2708,7 +2708,7 @@ dcb_accept(DCB *listener)
client_dcb->fd = c_sock;
// get client address
if (((struct sockaddr *)&client_conn)->sa_family == AF_UNIX)
if (client_conn.ss_family == AF_UNIX)
{
// client address
client_dcb->remote = MXS_STRDUP_A("localhost_from_socket");