- Timestamp:
- Nov 20, 2014 2:18:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/ip_icmpwin.c
r53350 r53360 315 315 m_append(pData, m, reqsize, reply->Data); 316 316 317 icmp->icmp_cksum = in_cksum_skip(m, sizeof(*icmp) + reqsize, sizeof(*ip));317 icmp->icmp_cksum = in_cksum_skip(m, ip->ip_len, sizeof(*ip)); 318 318 } 319 319 else { … … 412 412 m_append(pData, m, sizeof(pong->reqicmph), (caddr_t)&pong->reqicmph); 413 413 414 icmp->icmp_cksum = in_cksum_skip(m, sizeof(*icmp) + reqsize, sizeof(*ip));414 icmp->icmp_cksum = in_cksum_skip(m, ip->ip_len, sizeof(*ip)); 415 415 416 416 return m;
Note:
See TracChangeset
for help on using the changeset viewer.