Changeset 63277 in vbox for trunk/src/VBox/NetworkServices/NAT/pxudp.c
- Timestamp:
- Aug 10, 2016 2:31:08 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/pxudp.c
r62481 r63277 599 599 * valid for SOCK_RAW. 600 600 */ 601 # define USE_DF_OPTION(_Optname) \ 602 const int dfopt = _Optname; \ 603 const char * const dfoptname = #_Optname; 601 # define USE_DF_OPTION(_Optname) \ 602 const int dfopt = _Optname; \ 603 const char * const dfoptname = #_Optname; \ 604 RT_NOREF_PV(dfoptname) 604 605 #if defined(IP_MTU_DISCOVER) /* Linux */ 605 606 USE_DF_OPTION(IP_MTU_DISCOVER); … … 759 760 } 760 761 762 #ifdef RT_OS_WINDOWS 763 nread = recv(pxudp->sock, (char *)pollmgr_udpbuf, sizeof(pollmgr_udpbuf), 0); 764 #else 761 765 nread = recv(pxudp->sock, pollmgr_udpbuf, sizeof(pollmgr_udpbuf), 0); 766 #endif 762 767 if (nread == SOCKET_ERROR) { 763 768 DPRINTF(("%s: %R[sockerr]\n", __func__, SOCKERRNO()));
Note:
See TracChangeset
for help on using the changeset viewer.