The ICMP plugin was incorrectly using addressResolutionMutex if it was not
initialized. See attached.
--
Tim Gardner - [EMAIL PROTECTED] 406-443-5357
TriplePoint, Inc. - http://www.tpi.com
PGP: http://www.tpi.com/PGP/Tim.txt
--- icmpPlugin.c.old 2003-01-02 11:44:56.000000000 -0700
+++ icmpPlugin.c 2003-01-02 11:16:58.000000000 -0700
@@ -139,13 +139,19 @@
default:
#ifdef MULTITHREADED
- accessMutex(&myGlobals.addressResolutionMutex, "addressResolution");
+#ifdef ASYNC_ADDRESS_RESOLUTION
+ if(myGlobals.numericFlag == 0)
+ accessMutex(&myGlobals.addressResolutionMutex, "addressResolution");
+#endif
#endif
rc = strcasecmp((*a)->hostSymIpAddress, (*b)->hostSymIpAddress);
#ifdef MULTITHREADED
- releaseMutex(&myGlobals.addressResolutionMutex);
+#ifdef ASYNC_ADDRESS_RESOLUTION
+ if(myGlobals.numericFlag == 0)
+ releaseMutex(&myGlobals.addressResolutionMutex);
+#endif
#endif
return(rc);
break;