diff options
author | Anthony Molinaro <anthonym@alumni.caltech.edu> | 2017-02-13 14:17:02 -0800 |
---|---|---|
committer | dx <dx@dxzone.com.ar> | 2017-03-12 01:27:59 -0300 |
commit | c9e9c9c501d1609c3dd5f95a25efa60c4f1be384 (patch) | |
tree | 063e9721cd4d4c28ffba59bc4ad0e152a07554ac /ipc.c | |
parent | e7e6484b113c040967932e6cfbb91a3469efda56 (diff) |
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.
Diffstat (limited to 'ipc.c')
-rw-r--r-- | ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |