summaryrefslogtreecommitdiff
path: root/lib/Net/Ping.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Net/Ping.pm')
-rw-r--r--lib/Net/Ping.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Net/Ping.pm b/lib/Net/Ping.pm
index 0c8622e220..2713383a00 100644
--- a/lib/Net/Ping.pm
+++ b/lib/Net/Ping.pm
@@ -422,7 +422,7 @@ Net::Ping - check a remote host for reachability
sleep(1);
}
$p->close();
-
+
$p = Net::Ping->new("tcp", 2);
while ($stop_time > time())
{
@@ -431,7 +431,7 @@ Net::Ping - check a remote host for reachability
sleep(300);
}
undef($p);
-
+
# For backward compatibility
print "$host is alive.\n" if pingecho($host);