summaryrefslogtreecommitdiff
path: root/pflocal/socket.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-07-08 19:28:59 +0000
committerMiles Bader <miles@gnu.org>1995-07-08 19:28:59 +0000
commit4c16d29c5f21b34b55840391f25fe9bf6f2b34f0 (patch)
treebfe5aa3651bf7df1f904571b5d637922ac15f793 /pflocal/socket.c
parent39d60d198260aa2135a06087f40a78eb7a3f3189 (diff)
Formerly socket.c.~7~
Diffstat (limited to 'pflocal/socket.c')
-rw-r--r--pflocal/socket.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pflocal/socket.c b/pflocal/socket.c
index 3a731f23..06a766c1 100644
--- a/pflocal/socket.c
+++ b/pflocal/socket.c
@@ -194,6 +194,9 @@ S_socket_send (struct sock_user *user,
char *control, unsigned control_len,
int *amount)
{
+ if (flags & MSG_OOB)
+ /* BSD local sockets don't support OOB data. */
+ return EOPNOTSUPP;
return EOPNOTSUPP;
}
@@ -206,5 +209,8 @@ S_socket_recv (struct sock_user *user,
char **control, unsigned *control_len,
int *out_flags, int amount)
{
+ if (flags & MSG_OOB)
+ /* BSD local sockets don't support OOB data. */
+ return EOPNOTSUPP;
return EOPNOTSUPP;
}