commit 9a6ebdd308572c03b69d0dbebb3f90be6c10aee3 Author: DrDaveD Date: 2017-09-02 23:17:08 -0500 Bug 4767: SMP breaks IPv6 SNMP and cache manager queries diff --git a/src/ipc/UdsOp.cc b/src/ipc/UdsOp.cc index fb52418..78c4e30 100644 --- a/src/ipc/UdsOp.cc +++ b/src/ipc/UdsOp.cc @@ -193,7 +193,7 @@ void Ipc::SendMessage(const String& toAddress, const TypedMsgHdr &message) const Comm::ConnectionPointer & Ipc::ImportFdIntoComm(const Comm::ConnectionPointer &conn, int socktype, int protocol, Ipc::FdNoteId noteId) { - struct sockaddr_in addr; + struct sockaddr_storage addr; socklen_t len = sizeof(addr); if (getsockname(conn->fd, reinterpret_cast(&addr), &len) == 0) { conn->remote = addr;