summaryrefslogtreecommitdiff
path: root/src/uanytun.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-02-13 23:50:34 +0000
committerChristian Pointner <equinox@anytun.org>2014-02-13 23:50:34 +0000
commitb42ea191d55a7a98c7ba0373d92eaea663b5d350 (patch)
tree0547e35979b1d880c70d573e36b86c4ee74cd25b /src/uanytun.c
parentclearing sequence window when receiving SIGHUP (diff)
renamed udp fd_set function
Diffstat (limited to 'src/uanytun.c')
-rw-r--r--src/uanytun.c2
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;