From 323b9c48485e6cf92cdf1a94308f0a348a90a8e1 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Wed, 26 Apr 2000 05:57:16 +0000 Subject: [PATCH] fixed some logic problems in the alarm timeout code --- src/lib/Spong/Network/plugins/check_ping | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/Spong/Network/plugins/check_ping b/src/lib/Spong/Network/plugins/check_ping index adedba3..66cb749 100755 --- a/src/lib/Spong/Network/plugins/check_ping +++ b/src/lib/Spong/Network/plugins/check_ping @@ -1,12 +1,6 @@ # Register the function the plugin registry $PLUGINS{'ping'} = \&check_ping; - -# Check to see if the Net::Ping module is installed - -eval "use Net::Ping;"; -if( ! $@ ) { $ping = 1; } else { $ping = 0; } - # This routine checks connectivity. It first trys to "ping" the machine via # a TCP echo using the Net::Ping module, if it can't reach it via that # mechanism, then it resorts to the command line ping program. Using the -- 2.30.2