summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 80476b7..6a326fb 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -601,7 +601,7 @@ static void handle_resolv_returns(fastd_context *ctx) {
}
static void handle_input(fastd_context *ctx) {
- struct pollfd fds[3];
+ struct pollfd fds[4];
fds[0].fd = ctx->tunfd;
fds[0].events = POLLIN;
fds[1].fd = ctx->sockfd;