VirtualBox

Changeset 41969 in vbox for trunk


Ignore:
Timestamp:
Jun 29, 2012 3:46:00 AM (12 years ago)
Author:
vboxsync
Message:

NAT: back out r78837. (unexpected result)

File:
1 edited

Legend:

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

    r41967 r41969  
    166166     * Convert fields to host representation.
    167167     */
    168     RT_N2H_U16(ip->ip_len);
     168    NTOHS(ip->ip_len);
    169169    if (ip->ip_len < hlen)
    170170    {
     
    173173    }
    174174
    175     RT_N2H_U16(ip->ip_id);
    176     RT_N2H_U16(ip->ip_off);
     175    NTOHS(ip->ip_id);
     176    NTOHS(ip->ip_off);
    177177
    178178    /*
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