- Timestamp:
- Sep 13, 2009 3:36:26 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/udp.c
r22974 r22976 115 115 { 116 116 udpstat.udps_badlen++; 117 goto bad;117 Log3(("NAT: IP(id: %hd) has bad size\n", ip->ip_id)); 118 118 } 119 119 m_adj(m, len - ip->ip_len); … … 145 145 { 146 146 udpstat.udps_badsum++; 147 Log3(("NAT: IP(id: %hd) has bad (udp) cksum\n", ip->ip_id)); 147 148 goto bad; 148 149 } … … 220 221 */ 221 222 if ((so = socreate()) == NULL) 223 { 224 Log3(("NAT: IP(id: %hd) failed to create socket\n", ip->ip_id)); 222 225 goto bad; 226 } 223 227 if (udp_attach(pData, so, 0) == -1) 224 228 { 225 DEBUG_MISC((dfd,"udp_attach errno = %d-%s\n",226 errno, strerror(errno)));229 Log3(("NAT: IP(id: %hd) udp_attach errno = %d-%s\n", 230 ip->ip_id, errno, strerror(errno))); 227 231 sofree(pData, so); 228 232 goto bad;
Note:
See TracChangeset
for help on using the changeset viewer.