summaryrefslogtreecommitdiffstats
path: root/slirp
diff options
context:
space:
mode:
authorbellard2005-09-03 12:45:09 +0200
committerbellard2005-09-03 12:45:09 +0200
commitdf5f8956993449b735b5d917242a12222a4c58a1 (patch)
tree40a5a02fdebfa4135cb917cec8504ff7f0f2c595 /slirp
parentkqemu_set_notdirty() opt (diff)
downloadqemu-df5f8956993449b735b5d917242a12222a4c58a1.tar.gz
qemu-df5f8956993449b735b5d917242a12222a4c58a1.tar.xz
qemu-df5f8956993449b735b5d917242a12222a4c58a1.zip
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 3b840a82da..404cce8f76 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;
}