VirtualBox

Changeset 23423 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Sep 30, 2009 5:43:38 AM (15 years ago)
Author:
vboxsync
Message:

NAT: use rigth ioctl's return code.

File:
1 edited

Legend:

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

    r23377 r23423  
    616616            }
    617617
    618             if (rc > 0 && n > len)
     618            if (rc != -1 && n > len)
    619619            {
    620620                n = (m->m_data - m->m_dat) + m->m_len + n + 1;
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