use Intel::AMT::NetworkAdministration;
use Data::Dump qw/dump/;
use Regexp::Common qw/net/;
-use Net::Ping;
use html;
+use ping;
use CouchDB;
sub info {
$ip ||= $client_ip;
- my $p = Net::Ping->new;
-
- if ( ! $p->ping( $ip, 0.7 ) ) {
+ if ( ! ping::host( $ip ) ) {
return "$ip unreachable";
}