aboutsummaryrefslogtreecommitdiffstats
path: root/libs/ping.php
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ping.php')
-rw-r--r--libs/ping.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ping.php b/libs/ping.php
index dc8121d..9b40268 100644
--- a/libs/ping.php
+++ b/libs/ping.php
@@ -12,7 +12,7 @@ else
foreach ($hosts as $host)
{
- exec('/bin/ping -qc 1 '.$host.' | awk -F/ \'/^rtt/ { print $5 }\'', $result);
+ exec('/bin/ping -qc 1 '.$host.' | awk -F/ \'/^(rtt|round-trip)/ { print $5 }\'', $result);
if (!isset($result[0]))
{