mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 02:44:03 -05:00
eloop: Fix EVENT_TYPE_WRITE with poll()-based eloop
This needs to use POLLOUT instead of POLLIN to get the correct event. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
b682d6a73d
commit
4be921ac60
@ -278,7 +278,7 @@ static int eloop_sock_table_set_fds(struct eloop_sock_table *readers,
|
||||
pollfds_map[fd] = pfd;
|
||||
nxt++;
|
||||
}
|
||||
pfd->events |= POLLIN;
|
||||
pfd->events |= POLLOUT;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user