pakfire: Change pingtest to use icmp again.

This commit is contained in:
Michael Tremer
2010-03-03 10:45:47 +01:00
parent d8c62d6a78
commit 91bc781441
2 changed files with 2 additions and 1 deletions

View File

@@ -20,3 +20,4 @@ usr/local/bin/sshctrl
var/ipfire/langs/de.pl
var/ipfire/langs/en.pl
var/ipfire/langs/fr.pl
opt/pakfire/lib/pakfire.pl

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;