summaryrefslogtreecommitdiff
path: root/pflocal/socket.c
diff options
context:
space:
mode:
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;
}