summaryrefslogtreecommitdiffstats
path: root/ldadp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldadp.c')
-rw-r--r--ldadp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldadp.c b/ldadp.c
index b0e8e52..584da8a 100644
--- a/ldadp.c
+++ b/ldadp.c
@@ -101,7 +101,7 @@ static void listen_callback(void *data, int haveIn, int haveOut, int doCleanup)
free(client);
return;
}
- ePoll_add(EPOLLIN | EPOLLOUT | EPOLLET, (epoll_item_t*)client);
+ ePoll_add(EPOLLIN | EPOLLOUT | EPOLLET | EPOLLRDHUP, (epoll_item_t*)client);
}
static int loadConfig_handler(void *stuff, const char *section, const char *key, const char *value)