aboutsummaryrefslogtreecommitdiff
path: root/slirp
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-09-03 10:45:09 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-09-03 10:45:09 +0000
commitdf5f8956993449b735b5d917242a12222a4c58a1 (patch)
tree40a5a02fdebfa4135cb917cec8504ff7f0f2c595 /slirp
parentfc8dc06020f91d29754b5982bca22097ff60ce19 (diff)
downloadqemu-df5f8956993449b735b5d917242a12222a4c58a1.zip
qemu-df5f8956993449b735b5d917242a12222a4c58a1.tar.gz
qemu-df5f8956993449b735b5d917242a12222a4c58a1.tar.bz2
improved user net performances
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1561 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp')
-rw-r--r--slirp/slirp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/slirp.c b/slirp/slirp.c
index 3b840a8..404cce8 100644
--- a/slirp/slirp.c
+++ b/slirp/slirp.c
@@ -350,7 +350,7 @@ void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds)
* See if anything has timed out
*/
if (link_up) {
- if (time_fasttimo && ((curtime - time_fasttimo) >= 199)) {
+ if (time_fasttimo && ((curtime - time_fasttimo) >= 2)) {
tcp_fasttimo();
time_fasttimo = 0;
}