From c9e9c9c501d1609c3dd5f95a25efa60c4f1be384 Mon Sep 17 00:00:00 2001 From: Anthony Molinaro Date: Mon, 13 Feb 2017 14:17:02 -0800 Subject: Another instance where PF_UNIX was used and shouldn't. I couldn't find anyplace that actually enables the IPC, but I hand edited the config.h to enable it, and did see the protocol not supported failure, so modified this file and it went away. --- ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipc.c') diff --git a/ipc.c b/ipc.c index 304a8ef2..e4e48a89 100644 --- a/ipc.c +++ b/ipc.c @@ -897,7 +897,7 @@ int ipc_master_listen_socket() un_addr.sun_family = AF_UNIX; strcpy(un_addr.sun_path, IPCSOCKET); - serversock = socket(AF_UNIX, SOCK_STREAM, PF_UNIX); + serversock = socket(AF_UNIX, SOCK_STREAM, 0); if (serversock == -1) { log_message(LOGLVL_WARNING, "Unable to create UNIX socket: %s", strerror(errno)); -- cgit v1.2.3