Changeset 26405 in vbox
- Timestamp:
- Feb 10, 2010 10:42:41 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/ip_icmp.c
r25822 r26405 182 182 m0 = icm->im_m; 183 183 ip0 = mtod(m0, struct ip *); 184 AssertRelease(ip0->ip_p == IPPROTO_ICMP); 184 if (ip0->ip_p != IPPROTO_ICMP) 185 { 186 /* try next item */ 187 continue; 188 } 185 189 icp0 = (struct icmp *)((char *)ip0 + (ip0->ip_hl << 2)); 186 190 if ( ( (icp->icmp_type != ICMP_ECHO && ip->ip_src.s_addr == ip0->ip_dst.s_addr)
Note:
See TracChangeset
for help on using the changeset viewer.