VirtualBox

Changeset 49865 in vbox for trunk/src


Ignore:
Timestamp:
Dec 10, 2013 11:58:34 AM (11 years ago)
Author:
vboxsync
Message:

pxping_recv4: comment update for previous after testing - OS X really
wants IP header checksum set to checksum of all data, in host order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/pxping.c

    r49863 r49865  
    530530        IPH_OFFSET_SET(iph, ntohs(IPH_OFFSET(iph)));
    531531        IPH_LEN_SET(iph, ntohs(IPH_LEN(iph)));
    532         /* wants checksum */
    533         sum = inet_chksum_pbuf(p); /* sic(?) */
     532        /* wants checksum of everything (sic!), in host order */
     533        sum = inet_chksum_pbuf(p);
    534534        IPH_CHKSUM_SET(iph, sum);
    535535#else /* !RT_OS_DARWIN  */
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