Changeset 21049 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Jun 30, 2009 4:45:14 AM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/socket.c
r21004 r21049 774 774 so->so_laddr.s_addr = laddr; /* Ditto */ 775 775 776 memset(&addr, 0, sizeof(addr)); 777 #ifdef RT_OS_DARWIN 778 addr.sin_len = sizeof(addr); 779 #endif 776 780 addr.sin_family = AF_INET; 777 781 addr.sin_addr.s_addr = bind_addr; -
trunk/src/VBox/Devices/Network/slirp/udp.c
r21004 r21049 380 380 * here so that emulation of ytalk etc. don't have to do it 381 381 */ 382 memset(&addr, 0, sizeof(addr)); 383 #ifdef RT_OS_DARWIN 384 addr.sin_len = sizeof(addr); 385 #endif 382 386 addr.sin_family = AF_INET; 383 387 addr.sin_port = service_port; … … 743 747 QSOCKET_UNLOCK(udb); 744 748 749 memset(&addr, 0, sizeof(addr)); 750 #ifdef RT_OS_DARWIN 751 addr.sin_len = sizeof(addr); 752 #endif 745 753 addr.sin_family = AF_INET; 746 754 addr.sin_addr.s_addr = bind_addr;
Note:
See TracChangeset
for help on using the changeset viewer.