VirtualBox

Changeset 2566 in vbox


Ignore:
Timestamp:
May 9, 2007 4:37:49 PM (18 years ago)
Author:
vboxsync
Message:

Make sure curtime is updated when the first packet is sent by the
guest. Otherwise on a very quiet network the socket can get a timestamp
of 0, which causes it to be closed immediately on the next poll.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r2533 r2566  
    651651        break;
    652652    case ETH_P_IP:
     653        /* Update time. Important if the network is very quiet, as otherwise
     654         * the first outgoing connection gets an incorrect timestamp. */
     655        updtime(pData);
     656
    653657        m = m_get(pData);
    654658        if (!m)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette