Fixed the issue that PingPlugin cannot receive a reply from some sites like www.google.com.

This commit is contained in:
spx 2010-05-26 07:57:55 +00:00
parent 9851c8ff04
commit 3646188ad3

View File

@ -200,7 +200,7 @@ DWORD WINAPI NetworkThreadProc(LPVOID pParam)
{
pingData* pData = (pingData*)pParam;
BYTE reply[sizeof(ICMP_ECHO_REPLY) + 12];
BYTE reply[sizeof(ICMP_ECHO_REPLY) + 32];
HANDLE hIcmpFile;
hIcmpFile = g_IcmpCreateFile();