VirtualBox

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


Ignore:
Timestamp:
Dec 12, 2008 2:11:17 PM (16 years ago)
Author:
vboxsync
Message:

icmp:slirp: other Darwin fix

File:
1 edited

Legend:

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

    r15367 r15369  
    863863
    864864    /* the low level expects fields to be in host format so let's convert them*/
     865#ifndef RT_OS_DARWIN
     866    /*On Darwin we don't get this fields from socket*/
    865867    NTOHS(ip->ip_len);
    866868    NTOHS(ip->ip_off);
    867869    NTOHS(ip->ip_id);
     870#endif
    868871    ip->ip_src.s_addr = src;
    869872    ip->ip_dst.s_addr = dst;
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