summaryrefslogtreecommitdiff
path: root/pflocal/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'pflocal/socket.c')
-rw-r--r--pflocal/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pflocal/socket.c b/pflocal/socket.c
index 65503bc0..2baa1efe 100644
--- a/pflocal/socket.c
+++ b/pflocal/socket.c
@@ -591,7 +591,7 @@ S_socket_setopt (struct sock_user *user,
if (new > PFLOCAL_WRITE_LIMIT_MAX)
new = PFLOCAL_WRITE_LIMIT_MAX;
- pipe = sock->read_pipe;
+ pipe = sock->write_pipe;
if (!pipe)
{
ret = EPIPE;