From eb032e0dec75381183e8a32b4278dd4ff8a9f6b9 Mon Sep 17 00:00:00 2001 From: Tilo Eckert Date: Mon, 18 Feb 2019 12:44:05 +0100 Subject: socket: Use more portable PF_UNIX instead of PF_LOCAL Signed-off-by: Tilo Eckert Reviewed-by: Andreas Schneider Reviewed-by: Jakub Jelen --- src/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/socket.c b/src/socket.c index f297bcf7..e155a50a 100644 --- a/src/socket.c +++ b/src/socket.c @@ -838,7 +838,7 @@ int ssh_socket_connect_proxycommand(ssh_socket s, const char *command){ return SSH_ERROR; } - rc = socketpair(PF_LOCAL, SOCK_STREAM, 0, pair); + rc = socketpair(PF_UNIX, SOCK_STREAM, 0, pair); if (rc < 0) { return SSH_ERROR; } -- cgit v1.2.1