Changeset 15206 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Dec 9, 2008 10:08:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r15204 r15206 28 28 29 29 # ifdef VBOX_WITH_SLIRP_ICMP 30 # define ICMP_ENGAGE_EVENT(so, fdset 1, fdset2)\31 DO_ENGAGE_EVENT 2((so), (fdset1), (fdset2), ICMP)30 # define ICMP_ENGAGE_EVENT(so, fdset) \ 31 DO_ENGAGE_EVENT1((so), (fdset), ICMP) 32 32 # else /* !VBOX_WITH_SLIRP_ICMP */ 33 33 # define ICMP_ENGAGE_EVENT(so, fdset1, fdset2) \ … … 603 603 } 604 604 } 605 ICMP_ENGAGE_EVENT(&pData->icmp_socket, readfds, writefds); 605 606 if (pData->icmp_socket.s != -1) 607 ICMP_ENGAGE_EVENT(&pData->icmp_socket, readfds); 606 608 } 607 609 … … 893 895 sorecvfrom(pData, &pData->icmp_socket); 894 896 # else 895 if (so->s != -1 && FD_ISSET(so->s, readfds)) 896 { 897 if (pData->icmp_socket.s != -1 && FD_ISSET(pData->icmp_socket.s, readfds)) 897 898 sorecvfrom(pData, &pData->icmp_socket); 898 }899 899 # endif 900 900 #endif
Note:
See TracChangeset
for help on using the changeset viewer.