Changeset 19383 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- May 5, 2009 3:02:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/socket.c
r19313 r19383 521 521 * but I don't know the max packet size for DNS lookups 522 522 */ 523 #if 0 523 524 len = M_FREEROOM(m); 524 525 /* if (so->so_fport != htons(53)) */ … … 533 534 } 534 535 } 535 536 #else 537 len = m->m_size - (if_maxlinkhdr + sizeof(struct udpiphdr)); /* get max free room here*/ 538 #endif 536 539 m->m_len = recvfrom(so->s, m->m_data, len, 0, 537 540 (struct sockaddr *)&addr, &addrlen);
Note:
See TracChangeset
for help on using the changeset viewer.