diff options
Diffstat (limited to 'src/uanytun.c')
-rw-r--r-- | src/uanytun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uanytun.c b/src/uanytun.c index bb573d7..3f21cfa 100644 --- a/src/uanytun.c +++ b/src/uanytun.c @@ -225,7 +225,7 @@ int main_loop(tun_device_t* dev, udp_t* sock, options_t* opt) FD_ZERO(&readfds); FD_SET(dev->fd_, &readfds); - int nfds = udp_init_fd_set(sock, &readfds); + int nfds = udp_fill_fd_set(sock, &readfds); nfds = dev->fd_ > nfds ? dev->fd_ : nfds; int return_value = 0; |