From: Steinar H. Gunderson Date: Sun, 8 Feb 2015 22:53:41 +0000 (+0100) Subject: Fix multi-timeouts also in tungre. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e2ebf1fedf7240a160b488c93ca9d62431d69624;hp=3c6c8f4a2bfa4bc729a35c579922e17033309bf3;p=greproxy Fix multi-timeouts also in tungre. --- diff --git a/tungre.cpp b/tungre.cpp index 55bd973..fb39982 100644 --- a/tungre.cpp +++ b/tungre.cpp @@ -40,6 +40,7 @@ int main(int argc, char **argv) timeval tv = { 1, 0 }; FD_SET(gre.fd(), &fds); FD_SET(tun.fd(), &fds); + tun_reorderer.possibly_adjust_tv(&tv); tun_pacer.possibly_adjust_tv(&tv); int ret = select(1024, &fds, NULL, NULL, &tv); if (ret == -1) {