summaryrefslogtreecommitdiff
path: root/pflocal
diff options
context:
space:
mode:
Diffstat (limited to 'pflocal')
-rw-r--r--pflocal/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pflocal/socket.c b/pflocal/socket.c
index 4759c7b0..82ef26b6 100644
--- a/pflocal/socket.c
+++ b/pflocal/socket.c
@@ -194,10 +194,10 @@ S_socket_peername (struct sock_user *user,
mach_port_t *addr_port,
mach_msg_type_name_t *addr_port_type)
{
+ return EOPNOTSUPP; /* XXX */
if (!user)
return EOPNOTSUPP;
*addr_port_type = MACH_MSG_TYPE_MAKE_SEND;
- return sock_get_write_addr_port (user->sock, addr_port);
}
/* Send data over a socket, possibly including Mach ports. */