Update of /cvsroot/netrek/client/netrekxp/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22149/src Modified Files: parsemeta.c Log Message: Failed host lookup is not setting serverlist[i].ip_addr to INADDR_NONE, rather than find out why I just put in an extra check so as not to ping these failed hosts. Index: parsemeta.c =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/src/parsemeta.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- parsemeta.c 3 Mar 2007 10:02:44 -0000 1.33 +++ parsemeta.c 4 Mar 2007 22:27:13 -0000 1.34 @@ -2050,6 +2050,9 @@ saDest.sin_family = AF_INET; saDest.sin_port = 0; + // Address lookup failed somehow during init, don't ping + if (!saDest.sin_addr.s_addr) continue; + // Send ICMP echo request //printf("\nPinging %s [%s]", serverlist[i].address, inet_ntoa(saDest.sin_addr)); if (metaPing_sendEchoRequest(rawSocket, &saDest, idx) == SOCKET_ERROR)