diff --git a/CommonLibs/Sockets.cpp b/CommonLibs/Sockets.cpp index a65d62b7..11e96ddc 100644 --- a/CommonLibs/Sockets.cpp +++ b/CommonLibs/Sockets.cpp @@ -324,6 +324,7 @@ void UDDSocket::open(const char* localPath) void UDDSocket::destination(const char* remotePath) { struct sockaddr_un* unAddr = (struct sockaddr_un*)mDestination; + unAddr->sun_family = AF_UNIX; strcpy(unAddr->sun_path,remotePath); }