From: Stephen L Johnson Date: Thu, 27 Jul 2000 03:50:08 +0000 (+0000) Subject: adding missing use Net::Ping; statement X-Git-Tag: spong-2_7-alpha8~1 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d46058ae7e61323033776918466276d8cca88f21;p=spong.git adding missing use Net::Ping; statement --- diff --git a/src/lib/Spong/Network/plugins/check_ping b/src/lib/Spong/Network/plugins/check_ping index 66cb749..be71857 100755 --- a/src/lib/Spong/Network/plugins/check_ping +++ b/src/lib/Spong/Network/plugins/check_ping @@ -6,6 +6,8 @@ $PLUGINS{'ping'} = \&check_ping; # mechanism, then it resorts to the command line ping program. Using the # Net::Ping speeds things up quite a bit... +use Net::Ping; + sub check_ping { my( $host ) = @_; my( $color, $rt, $summary, $message ) = ( "green", "", "", "" );