VirtualBox

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


Ignore:
Timestamp:
May 4, 2009 4:04:38 AM (16 years ago)
Author:
vboxsync
Message:

NAT: corrects mbuf data offset arithmetic

File:
1 edited

Legend:

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

    r19313 r19318  
    450450#endif
    451451        m->m_data += if_maxlinkhdr;
    452 #ifndef VBOX_WITH_NAT_SERVICE
    453         /* XXX: it's shouldn't be here at all need to be deleted */
    454         m->m_data += sizeof(struct ip)
    455                    + sizeof(struct tcphdr);
    456 #endif
    457452        m->m_len = hdrlen;
    458453    }
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