diff options
author | dimitri staessens <[email protected]> | 2016-10-23 11:08:18 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-10-23 11:08:18 +0200 |
commit | d0d329cbde5ea67f1ab16481b4e93c873ed9b19c (patch) | |
tree | 61a2a777ec5aec57541a05c2a4da71f801b683f0 /src/tools/oping/oping_server.c | |
parent | b0bdf3b54c5af73af450b35b1a9473ab1ee9a4a4 (diff) | |
download | ouroboros-d0d329cbde5ea67f1ab16481b4e93c873ed9b19c.tar.gz ouroboros-d0d329cbde5ea67f1ab16481b4e93c873ed9b19c.zip |
tools: Fix setting flags in oping tool
Diffstat (limited to 'src/tools/oping/oping_server.c')
-rw-r--r-- | src/tools/oping/oping_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/oping/oping_server.c b/src/tools/oping/oping_server.c index 193b76d1..bcd47f9a 100644 --- a/src/tools/oping/oping_server.c +++ b/src/tools/oping/oping_server.c @@ -150,7 +150,7 @@ void * accept_thread(void * o) server.times[fd] = now; pthread_mutex_unlock(&server.lock); - flow_cntl(fd, FLOW_F_SETFL, FLOW_O_NONBLOCK); + flow_cntl(fd, FLOW_F_SETFL, FLOW_O_NONBLOCK | FLOW_O_RDWR); } return (void *) 0; |