summaryrefslogtreecommitdiff
path: root/pflocal/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'pflocal/socket.c')
-rw-r--r--pflocal/socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pflocal/socket.c b/pflocal/socket.c
index 86c465da..4c0b1029 100644
--- a/pflocal/socket.c
+++ b/pflocal/socket.c
@@ -295,7 +295,8 @@ S_socket_send (struct sock_user *user, struct addr *dest_addr, int flags,
err = sock_acquire_read_pipe (dest_sock, &pipe);
if (!err)
{
- err = pipe_send (pipe, source_addr, data, data_len,
+ err = pipe_send (pipe, user->sock->flags & SOCK_NONBLOCK,
+ source_addr, data, data_len,
control, control_len, ports, num_ports,
amount);
pipe_release_writer (pipe);