Changeset 21996 in vbox
- Timestamp:
- Aug 5, 2009 1:07:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/ip_icmp.c
r21865 r21996 105 105 pData->pfGetAdaptersAddresses = (ULONG (WINAPI *)(ULONG, ULONG, PVOID, PIP_ADAPTER_ADDRESSES, PULONG)) 106 106 GetProcAddress(pData->hmIcmpLibrary, "GetAdaptersAddresses"); 107 if (pData->pfGetAdaptersAddresses == NULL) 107 if (pData->pfGetAdaptersAddresses == NULL) 108 108 { 109 109 LogRel(("NAT: Can't find GetAdapterAddresses in Iphlpapi.dll")); … … 113 113 if (pData->pfIcmpParseReplies == NULL) 114 114 { 115 if(pData->pfGetAdaptersAddresses == NULL) 115 if(pData->pfGetAdaptersAddresses == NULL) 116 116 FreeLibrary(pData->hmIcmpLibrary); 117 117 pData->hmIcmpLibrary = LoadLibrary("Icmp.dll"); … … 251 251 if (found == 1 && icm == NULL) 252 252 { 253 if (so->so_state == SS_NOFDREF) 253 if (so->so_state == SS_NOFDREF) 254 254 { 255 255 /* socket is shutdowning we've already sent ICMP on it.*/ … … 490 490 DEBUG_CALL("icmp_error"); 491 491 DEBUG_ARG("msrc = %lx", (long )msrc); 492 DEBUG_ARG("msrc_len = %d", msrc ->m_len);492 DEBUG_ARG("msrc_len = %d", msrc ? msrc->m_len : 0); 493 493 494 494 if (type!=ICMP_UNREACH && type!=ICMP_TIMXCEED)
Note:
See TracChangeset
for help on using the changeset viewer.