X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=tungre.cpp;h=fb39982e9f8c216016b9ca2e4784718812497167;hb=e2ebf1fedf7240a160b488c93ca9d62431d69624;hp=55bd973602b888bbf57e5e5c63ce8c399667c422;hpb=3c6c8f4a2bfa4bc729a35c579922e17033309bf3;p=greproxy 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) {