|
@@ -35,7 +35,7 @@ discard block |
|
|
block discarded – undo |
|
35
|
35
|
|
|
36
|
36
|
$this->host_status = 'Unreachable'; |
|
37
|
37
|
|
|
38
|
|
- if(preg_match('/^--- (.+) ---$/i', $ping[count($ping) - 2])) { |
|
|
38
|
+ if (preg_match('/^--- (.+) ---$/i', $ping[count($ping) - 2])) { |
|
39
|
39
|
$this->setStatistics($ping[count($ping) - 1]); |
|
40
|
40
|
|
|
41
|
41
|
if ($this->is_unreachable === false) { |
|
@@ -47,7 +47,7 @@ discard block |
|
|
block discarded – undo |
|
47
|
47
|
$this->setStatistics($ping[count($ping) - 2]); |
|
48
|
48
|
|
|
49
|
49
|
if ($this->is_unreachable === false) { |
|
50
|
|
- $this->setRoundTripTime($ping[count($ping)-1]); |
|
|
50
|
+ $this->setRoundTripTime($ping[count($ping) - 1]); |
|
51
|
51
|
$this->setSequence(); |
|
52
|
52
|
$this->setHostStatus(); |
|
53
|
53
|
} |
Please login to merge, or discard this patch.