VirtualBox

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


Ignore:
Timestamp:
Dec 12, 2008 8:47:27 PM (16 years ago)
Author:
vboxsync
Message:

slirp:icmp: Darwin fix attempt

File:
1 edited

Legend:

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

    r15388 r15396  
    847847
    848848    /* the low level expects fields to be in host format so let's convert them*/
     849#ifndef RT_OS_DARWIN
     850    /* Darwin returns this fields in host byte order */
    849851    NTOHS(ip->ip_len);
    850852    NTOHS(ip->ip_off);
     853#endif
    851854    NTOHS(ip->ip_id);
    852855    ip->ip_src.s_addr = src;
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