From b42ea191d55a7a98c7ba0373d92eaea663b5d350 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 13 Feb 2014 23:50:34 +0000 Subject: renamed udp fd_set function --- src/uanytun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/uanytun.c') 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; -- cgit v1.2.3