pakfire: Change pingtest to use icmp again.

This commit is contained in:
Michael Tremer
2010-03-03 10:45:47 +01:00
committed by Arne Fitzenreiter
parent 1ddefbbdc8
commit 4a0ce88c9b

View File

@@ -116,7 +116,7 @@ sub usage {
sub pinghost {
my $host = shift;
$p = Net::Ping->new();
$p = Net::Ping->new("icmp");
if ($p->ping($host)) {
logger("PING INFO: $host is alive");
return 1;