]> git.etc.gen.nz Git - spong.git/commitdiff
adding missing use Net::Ping; statement
authorStephen L Johnson <sjohnson@monsters.org>
Thu, 27 Jul 2000 03:50:08 +0000 (03:50 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Thu, 27 Jul 2000 03:50:08 +0000 (03:50 +0000)
src/lib/Spong/Network/plugins/check_ping

index 66cb749bcd60ceaeeaf3d481d0786e1c4180ac32..be7185780cb3780d672cb292738c687b7ac6a002 100755 (executable)
@@ -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", "", "", "" );